fyodorov-llm-agents 0.2.80__py3-none-any.whl → 0.2.81__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.
- fyodorov_llm_agents/agents/agent.py +2 -2
- {fyodorov_llm_agents-0.2.80.dist-info → fyodorov_llm_agents-0.2.81.dist-info}/METADATA +1 -1
- fyodorov_llm_agents-0.2.81.dist-info/RECORD +7 -0
- fyodorov_llm_agents-0.2.80.dist-info/RECORD +0 -7
- {fyodorov_llm_agents-0.2.80.dist-info → fyodorov_llm_agents-0.2.81.dist-info}/WHEEL +0 -0
- {fyodorov_llm_agents-0.2.80.dist-info → fyodorov_llm_agents-0.2.81.dist-info}/top_level.txt +0 -0
@@ -213,14 +213,14 @@ class Agent(BaseModel):
|
|
213
213
|
print(f"type of result: {type(result)}")
|
214
214
|
yield result.encode()
|
215
215
|
|
216
|
-
def call_with_fn_calling(self, prompt: str = "", input: str = ""
|
216
|
+
def call_with_fn_calling(self, prompt: str = "", input: str = ""):
|
217
217
|
# Set environmental variable
|
218
218
|
os.environ['OPENAI_API_KEY'] = self.api_key
|
219
219
|
messages: [] = [
|
220
220
|
{"content": prompt, "role": "system"},
|
221
221
|
{ "content": input, "role": "user"},
|
222
222
|
]
|
223
|
-
response = completion(model=self.model, messages=messages)
|
223
|
+
response = completion(model=self.model, messages=messages, max_retries=0)
|
224
224
|
print(f"Response: {response}")
|
225
225
|
return response
|
226
226
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: fyodorov_llm_agents
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.81
|
4
4
|
Summary: LLM agents for the Fyodorov AI suite
|
5
5
|
Author-email: Daniel Ransom <02masseur.alibis@icloud.com>
|
6
6
|
Project-URL: Homepage, https://github.com/FyodorovAI/fyodorov-llm-agents
|
@@ -0,0 +1,7 @@
|
|
1
|
+
fyodorov_llm_agents/agents/agent.py,sha256=rUg7JG9yRTndpdHKQFjQspl_rWJTDdKSi9OSR09bhdI,13771
|
2
|
+
fyodorov_llm_agents/agents/openai.py,sha256=FA5RS7yn3JwvFA8PXju60XSYC_2oUZFNgBUzeIYtGv0,1154
|
3
|
+
fyodorov_llm_agents/tools/tool.py,sha256=hdR_AAfPaKs6stTPfkP4Q_yDrqtbl8U3KDDDRYZ2zu8,6694
|
4
|
+
fyodorov_llm_agents-0.2.81.dist-info/METADATA,sha256=DItrJEg4e_BJey5HTbistqR177Kd_0rvd4hftahGUso,551
|
5
|
+
fyodorov_llm_agents-0.2.81.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
6
|
+
fyodorov_llm_agents-0.2.81.dist-info/top_level.txt,sha256=4QOslsBp8Gh7ng25DceA7fHp4KguTIdAxwURz97gH-g,20
|
7
|
+
fyodorov_llm_agents-0.2.81.dist-info/RECORD,,
|
@@ -1,7 +0,0 @@
|
|
1
|
-
fyodorov_llm_agents/agents/agent.py,sha256=lUwTEN1GqZKn6ObbZ2ICBj75nJZGecB1rQFuTB1OJJs,13782
|
2
|
-
fyodorov_llm_agents/agents/openai.py,sha256=FA5RS7yn3JwvFA8PXju60XSYC_2oUZFNgBUzeIYtGv0,1154
|
3
|
-
fyodorov_llm_agents/tools/tool.py,sha256=hdR_AAfPaKs6stTPfkP4Q_yDrqtbl8U3KDDDRYZ2zu8,6694
|
4
|
-
fyodorov_llm_agents-0.2.80.dist-info/METADATA,sha256=tRSrksinaRyOj5VK8IS-2aPqJ6hX5W8a_vsDvRd_zOs,551
|
5
|
-
fyodorov_llm_agents-0.2.80.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
6
|
-
fyodorov_llm_agents-0.2.80.dist-info/top_level.txt,sha256=4QOslsBp8Gh7ng25DceA7fHp4KguTIdAxwURz97gH-g,20
|
7
|
-
fyodorov_llm_agents-0.2.80.dist-info/RECORD,,
|
File without changes
|
File without changes
|