oocana 0.15.0__tar.gz → 0.15.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: oocana
3
- Version: 0.15.0
3
+ Version: 0.15.1
4
4
  Summary: python implement of oocana to give a context for oocana block
5
5
  License: MIT
6
6
  Requires-Python: >=3.9
@@ -20,6 +20,9 @@ class OnlyEqualSelf:
20
20
 
21
21
  class OOMOL_LLM_ENV(TypedDict):
22
22
  base_url: str
23
+ """{basUrl}/v1 openai compatible endpoint
24
+ """
25
+ base_url_v1: str
23
26
  api_key: str
24
27
  models: list[str]
25
28
 
@@ -105,6 +108,7 @@ class Context:
105
108
  """
106
109
  return {
107
110
  "base_url": os.getenv("OOMOL_LLM_BASE_URL", ""),
111
+ "base_url_v1": os.getenv("OOMOL_LLM_BASE_URL_V1", ""),
108
112
  "api_key": os.getenv("OOMOL_LLM_API_KEY", ""),
109
113
  "models": os.getenv("OOMOL_LLM_MODELS", "").split(","),
110
114
  }
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "oocana"
3
- version = "0.15.0"
3
+ version = "0.15.1"
4
4
  description = "python implement of oocana to give a context for oocana block"
5
5
  dependencies = [
6
6
  "paho-mqtt>=2",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes