promptbuilder 0.4.39__tar.gz → 0.4.40__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.
- {promptbuilder-0.4.39/promptbuilder.egg-info → promptbuilder-0.4.40}/PKG-INFO +1 -1
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder/llm_client/google_client.py +7 -1
- {promptbuilder-0.4.39 → promptbuilder-0.4.40/promptbuilder.egg-info}/PKG-INFO +1 -1
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/setup.py +1 -1
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/LICENSE +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/MANIFEST.in +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/Readme.md +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder/__init__.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder/agent/__init__.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder/agent/agent.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder/agent/context.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder/agent/tool.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder/agent/utils.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder/embeddings.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder/llm_client/__init__.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder/llm_client/aisuite_client.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder/llm_client/anthropic_client.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder/llm_client/base_client.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder/llm_client/bedrock_client.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder/llm_client/config.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder/llm_client/exceptions.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder/llm_client/litellm_client.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder/llm_client/logfire_decorators.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder/llm_client/main.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder/llm_client/openai_client.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder/llm_client/types.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder/llm_client/utils.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder/prompt_builder.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder.egg-info/SOURCES.txt +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder.egg-info/dependency_links.txt +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder.egg-info/requires.txt +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder.egg-info/top_level.txt +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/pyproject.toml +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/setup.cfg +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/tests/test_llm_client.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/tests/test_llm_client_async.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/tests/test_timeout_google.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/tests/test_timeout_litellm.py +0 -0
- {promptbuilder-0.4.39 → promptbuilder-0.4.40}/tests/test_timeout_openai.py +0 -0
|
@@ -273,7 +273,13 @@ class GoogleLLMClientAsync(BaseLLMClientAsync):
|
|
|
273
273
|
thinking_config = self.default_thinking_config
|
|
274
274
|
config.thinking_config = thinking_config
|
|
275
275
|
|
|
276
|
-
if result_type is None
|
|
276
|
+
if result_type is None:
|
|
277
|
+
return await self.client.aio.models.generate_content(
|
|
278
|
+
model=self.model,
|
|
279
|
+
contents=messages,
|
|
280
|
+
config=config,
|
|
281
|
+
)
|
|
282
|
+
elif result_type == "json":
|
|
277
283
|
config.response_mime_type = "application/json"
|
|
278
284
|
return await self.client.aio.models.generate_content(
|
|
279
285
|
model=self.model,
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{promptbuilder-0.4.39 → promptbuilder-0.4.40}/promptbuilder/llm_client/logfire_decorators.py
RENAMED
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|