gemini-agent-framework 0.1.4__py3-none-any.whl → 0.1.5__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 +1 -1
- gemini_agent/agent.py +5 -2
- {gemini_agent_framework-0.1.4.dist-info → gemini_agent_framework-0.1.5.dist-info}/METADATA +1 -1
- gemini_agent_framework-0.1.5.dist-info/RECORD +5 -0
- gemini_agent_framework-0.1.4.dist-info/RECORD +0 -5
- {gemini_agent_framework-0.1.4.dist-info → gemini_agent_framework-0.1.5.dist-info}/WHEEL +0 -0
gemini_agent/__init__.py
CHANGED
gemini_agent/agent.py
CHANGED
@@ -322,9 +322,11 @@ class Agent:
|
|
322
322
|
}
|
323
323
|
final_mime_type = "application/json"
|
324
324
|
final_response_schema = response_structure
|
325
|
-
|
325
|
+
counter = 0
|
326
326
|
while True:
|
327
|
-
|
327
|
+
with open(f"payload_variable_{counter}.json", "w") as f:
|
328
|
+
json.dump(payload, f)
|
329
|
+
|
328
330
|
response_data = self._call_gemini_api(payload)
|
329
331
|
if "error" in response_data:
|
330
332
|
print(f"API call failed: {response_data['error'].get('message', 'Unknown API error')}")
|
@@ -470,6 +472,7 @@ class Agent:
|
|
470
472
|
print(f"Warning: Failed to parse structured output after formatting call: {e}. Returning intermediate text.")
|
471
473
|
return final_text
|
472
474
|
return final_text
|
475
|
+
counter += 1
|
473
476
|
continue
|
474
477
|
|
475
478
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: gemini-agent-framework
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.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://github.com/m7mdony/gemini-agent-framework#readme
|
@@ -0,0 +1,5 @@
|
|
1
|
+
gemini_agent/__init__.py,sha256=1clMUsayB4m1Ez9RbtlTYvfNdwYYc0MN_jdQp7xtZB4,71
|
2
|
+
gemini_agent/agent.py,sha256=D6zMq9rJ9g_ieBtyfcPa-Hdjgxy5qO-oXGvonC7VOGY,24316
|
3
|
+
gemini_agent_framework-0.1.5.dist-info/METADATA,sha256=Z9LkPsd5qkCZnDJVbIFrVeqx1OGF7Shv38s_9_JSALM,2386
|
4
|
+
gemini_agent_framework-0.1.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
5
|
+
gemini_agent_framework-0.1.5.dist-info/RECORD,,
|
@@ -1,5 +0,0 @@
|
|
1
|
-
gemini_agent/__init__.py,sha256=3nn6YdImhRa8SN7VOAJVo2lPbBu2cYjzxgInerYhDvc,71
|
2
|
-
gemini_agent/agent.py,sha256=tMsgexMEsKVvfVTlluihJay4Dadkk6LWf84qe-rv4qc,24146
|
3
|
-
gemini_agent_framework-0.1.4.dist-info/METADATA,sha256=V2RVV60ovE07FCsSfXA3mRKcr5YV6ajU-qvaQ4jeLFQ,2386
|
4
|
-
gemini_agent_framework-0.1.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
5
|
-
gemini_agent_framework-0.1.4.dist-info/RECORD,,
|
File without changes
|