ehs-llm-client 0.1.7__tar.gz → 0.1.9__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.
- {ehs_llm_client-0.1.7 → ehs_llm_client-0.1.9}/PKG-INFO +1 -1
- {ehs_llm_client-0.1.7 → ehs_llm_client-0.1.9}/ehs_llm_client/client.py +5 -5
- {ehs_llm_client-0.1.7 → ehs_llm_client-0.1.9}/ehs_llm_client.egg-info/PKG-INFO +1 -1
- {ehs_llm_client-0.1.7 → ehs_llm_client-0.1.9}/pyproject.toml +1 -1
- {ehs_llm_client-0.1.7 → ehs_llm_client-0.1.9}/README.md +0 -0
- {ehs_llm_client-0.1.7 → ehs_llm_client-0.1.9}/ehs_llm_client/__init__.py +0 -0
- {ehs_llm_client-0.1.7 → ehs_llm_client-0.1.9}/ehs_llm_client/config.py +0 -0
- {ehs_llm_client-0.1.7 → ehs_llm_client-0.1.9}/ehs_llm_client/exceptions.py +0 -0
- {ehs_llm_client-0.1.7 → ehs_llm_client-0.1.9}/ehs_llm_client/utils.py +0 -0
- {ehs_llm_client-0.1.7 → ehs_llm_client-0.1.9}/ehs_llm_client.egg-info/SOURCES.txt +0 -0
- {ehs_llm_client-0.1.7 → ehs_llm_client-0.1.9}/ehs_llm_client.egg-info/dependency_links.txt +0 -0
- {ehs_llm_client-0.1.7 → ehs_llm_client-0.1.9}/ehs_llm_client.egg-info/requires.txt +0 -0
- {ehs_llm_client-0.1.7 → ehs_llm_client-0.1.9}/ehs_llm_client.egg-info/top_level.txt +0 -0
- {ehs_llm_client-0.1.7 → ehs_llm_client-0.1.9}/setup.cfg +0 -0
|
@@ -205,14 +205,14 @@ class LLM:
|
|
|
205
205
|
await asyncio.sleep(retry_seconds)
|
|
206
206
|
retries += 1
|
|
207
207
|
|
|
208
|
-
def create_batch_request(self, custom_id: str, messages: list[dict[str, str]], schema: dict
|
|
208
|
+
def create_batch_request(self, custom_id: str, messages: list[dict[str, str]], schema: dict) -> dict:
|
|
209
209
|
"""
|
|
210
210
|
Generates a single line for a Batch API JSONL file.
|
|
211
211
|
Matches the logic of call_async by supporting multi-turn messages and system instructions.
|
|
212
212
|
"""
|
|
213
213
|
provider = self.provider.lower()
|
|
214
|
-
if reasoning_effort is None:
|
|
215
|
-
|
|
214
|
+
# if reasoning_effort is None:
|
|
215
|
+
# reasoning_effort = self.default_reasoning_effort
|
|
216
216
|
|
|
217
217
|
if schema == "return json":
|
|
218
218
|
# Enable basic JSON Mode (no strict schema adherence)
|
|
@@ -243,8 +243,8 @@ class LLM:
|
|
|
243
243
|
"text": text
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
|
-
if reasoning_effort:
|
|
247
|
-
|
|
246
|
+
# if reasoning_effort:
|
|
247
|
+
# output["body"]["reasoning"] = {"effort": reasoning_effort}
|
|
248
248
|
return output
|
|
249
249
|
|
|
250
250
|
elif provider == "google":
|
|
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
|