gemini-agent-framework 0.2.1__tar.gz → 0.2.2__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.1 → gemini_agent_framework-0.2.2}/PKG-INFO +1 -1
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/pyproject.toml +1 -1
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/src/gemini_agent/__init__.py +1 -1
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/src/gemini_agent/agent.py +0 -6
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/.flake8 +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/.github/workflows/ci.yml +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/.github/workflows/deploy-docs.yml +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/.github/workflows/docs.yml +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/.github/workflows/python-publish.yml +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/.github/workflows/tests.yml +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/.gitignore +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/CHANGELOG.md +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/CODE_OF_CONDUCT.md +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/CONTRIBUTING.md +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/LICENSE +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/README.md +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/docs/api_reference.md +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/docs/architecture.md +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/docs/best_practices.md +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/docs/index.md +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/docs/installation.md +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/docs/tutorials.md +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/mkdocs.yml +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/payload_variable_0.json +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/requirements.txt +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/tests/__init__.py +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/tests/test_agent.py +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/tests/test_class_methods.py +0 -0
- {gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/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.2
|
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.2"
|
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"
|
@@ -274,26 +274,20 @@ class Agent:
|
|
274
274
|
"""Substitutes variable references in arguments with their actual values."""
|
275
275
|
result = {}
|
276
276
|
for key, value in args.items():
|
277
|
-
print("substituting variables", key, value)
|
278
277
|
if isinstance(value, str) and value.startswith("$"):
|
279
|
-
print("is string and starts with $")
|
280
278
|
# Handle $ prefixed variables
|
281
279
|
var_name = value[1:]
|
282
280
|
if var_name in self._stored_variables:
|
283
|
-
print("substituted")
|
284
281
|
|
285
282
|
result[key] = self._stored_variables[var_name]["value"]
|
286
283
|
else:
|
287
284
|
result[key] = value
|
288
285
|
elif isinstance(value, dict) and "variable" in value:
|
289
|
-
print("is dict and has variable")
|
290
286
|
# Handle dictionary-style variable references
|
291
287
|
var_name = value["variable"]
|
292
288
|
if var_name in self._stored_variables:
|
293
|
-
print("substituted")
|
294
289
|
result[key] = self._stored_variables[var_name]["value"]
|
295
290
|
else:
|
296
|
-
print("substituted")
|
297
291
|
result[key] = value
|
298
292
|
else:
|
299
293
|
result[key] = value
|
File without changes
|
File without changes
|
{gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/.github/workflows/deploy-docs.yml
RENAMED
File without changes
|
File without changes
|
{gemini_agent_framework-0.2.1 → gemini_agent_framework-0.2.2}/.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
|
File without changes
|
File without changes
|
File without changes
|