gemini-agent-framework 0.2.1__py3-none-any.whl → 0.2.2__py3-none-any.whl

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/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
1
  from .agent import Agent
2
2
 
3
- __version__ = "0.2.1"
3
+ __version__ = "0.2.2"
4
4
  __all__ = ["Agent"]
gemini_agent/agent.py CHANGED
@@ -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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gemini-agent-framework
3
- Version: 0.2.1
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
@@ -0,0 +1,6 @@
1
+ gemini_agent/__init__.py,sha256=2220VPV3WqLMo3kDIRmbjzxzY3O_kd0fkkbjjBWJ0-o,68
2
+ gemini_agent/agent.py,sha256=ymZLfcB_0W4pcnu8pFQwFRLUR2RpfMtOPTa51lb9gvg,28538
3
+ gemini_agent_framework-0.2.2.dist-info/METADATA,sha256=2Nk-YfrwziO79Al0yy2sidfpmBMx1qu4se7osek8mDo,5032
4
+ gemini_agent_framework-0.2.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
5
+ gemini_agent_framework-0.2.2.dist-info/licenses/LICENSE,sha256=NHp9eKeWbB-Fp6Ff24BXSemJOa6UEZa9IAp9U7O9oBM,1073
6
+ gemini_agent_framework-0.2.2.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- gemini_agent/__init__.py,sha256=qxPrqA6Pa9JUUW9kdjAEqdiK7pnW9c2NbZZ1jg8FuPU,68
2
- gemini_agent/agent.py,sha256=Uy_n83u_hnhgUw9sZE7a6Smbkfmay6fKdwTZNInwTPk,28820
3
- gemini_agent_framework-0.2.1.dist-info/METADATA,sha256=nZ8J1OXNXlpXuRZQ-MLGHiWGAPCNJHPFNMh69FG1O6E,5032
4
- gemini_agent_framework-0.2.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
5
- gemini_agent_framework-0.2.1.dist-info/licenses/LICENSE,sha256=NHp9eKeWbB-Fp6Ff24BXSemJOa6UEZa9IAp9U7O9oBM,1073
6
- gemini_agent_framework-0.2.1.dist-info/RECORD,,