gemini-agent-framework 0.2.4__tar.gz → 0.2.5__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.
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/PKG-INFO +1 -1
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/pyproject.toml +1 -1
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/src/gemini_agent/__init__.py +1 -1
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/src/gemini_agent/agent.py +6 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/.flake8 +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/.github/workflows/ci.yml +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/.github/workflows/deploy-docs.yml +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/.github/workflows/docs.yml +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/.github/workflows/python-publish.yml +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/.github/workflows/tests.yml +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/.gitignore +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/CHANGELOG.md +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/CODE_OF_CONDUCT.md +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/CONTRIBUTING.md +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/LICENSE +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/README.md +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/docs/api_reference.md +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/docs/architecture.md +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/docs/best_practices.md +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/docs/index.md +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/docs/installation.md +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/docs/tutorials.md +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/mkdocs.yml +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/payload_variable_0.json +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/requirements.txt +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/tests/__init__.py +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/tests/formatting_payload_2.json +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/tests/payload_0.json +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/tests/payload_1.json +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/tests/test_agent.py +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/tests/test_class_methods.py +0 -0
- {gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/tests/test_variables.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: gemini-agent-framework
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.5
|
4
4
|
Summary: A framework for building agents that use Gemini's function calling capabilities
|
5
5
|
Project-URL: Homepage, https://github.com/m7mdony/gemini-agent-framework
|
6
6
|
Project-URL: Documentation, https://m7mdony.github.io/gemini-agent-framework
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "gemini-agent-framework"
|
7
|
-
version = "0.2.
|
7
|
+
version = "0.2.5"
|
8
8
|
description = "A framework for building agents that use Gemini's function calling capabilities"
|
9
9
|
readme = "README.md"
|
10
10
|
requires-python = ">=3.8"
|
@@ -366,6 +366,12 @@ class Agent:
|
|
366
366
|
# Don't set JSON formatting initially if tools are available
|
367
367
|
# We'll apply it later after tool calls are completed
|
368
368
|
apply_json_format_later = json_format and bool(self._registered_tools_json)
|
369
|
+
|
370
|
+
# Set JSON formatting immediately if no tools are involved
|
371
|
+
if json_format and not self._registered_tools_json:
|
372
|
+
payload["generationConfig"] = {
|
373
|
+
"response_mime_type": "application/json"
|
374
|
+
}
|
369
375
|
|
370
376
|
count = 0
|
371
377
|
while True:
|
File without changes
|
File without changes
|
{gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/.github/workflows/deploy-docs.yml
RENAMED
File without changes
|
File without changes
|
{gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/.github/workflows/python-publish.yml
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
|
File without changes
|
{gemini_agent_framework-0.2.4 → gemini_agent_framework-0.2.5}/tests/formatting_payload_2.json
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|