fyodorov-llm-agents 0.2.77__py3-none-any.whl → 0.2.79__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.
@@ -1,3 +1,4 @@
1
+ import os
1
2
  import re
2
3
  import requests
3
4
  import queue
@@ -213,6 +214,8 @@ class Agent(BaseModel):
213
214
  yield result.encode()
214
215
 
215
216
  def call_with_fn_calling(self, prompt: str = "", input: str = "", temperature: float = 0.0):
217
+ # Set environmental variable
218
+ os.environ['OPENAI_API_KEY'] = self.api_key
216
219
  messages: [] = [
217
220
  {"content": prompt, "role": "system"},
218
221
  { "content": input, "role": "user"},
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fyodorov_llm_agents
3
- Version: 0.2.77
3
+ Version: 0.2.79
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=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.79.dist-info/METADATA,sha256=ySjpj5bYhaJwJVMpRPHfQ29o_fE_57HTImBtwI1u4F0,551
5
+ fyodorov_llm_agents-0.2.79.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
6
+ fyodorov_llm_agents-0.2.79.dist-info/top_level.txt,sha256=4QOslsBp8Gh7ng25DceA7fHp4KguTIdAxwURz97gH-g,20
7
+ fyodorov_llm_agents-0.2.79.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- fyodorov_llm_agents/agents/agent.py,sha256=C3-hvurorRXQWIY6RtToUJ3y3VYGs6Fc8QkYRmMADiA,13683
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.77.dist-info/METADATA,sha256=S9dmVIrhFds26-y0Hqt5U6iW_oTxw5hfa7a_834-nOE,551
5
- fyodorov_llm_agents-0.2.77.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
6
- fyodorov_llm_agents-0.2.77.dist-info/top_level.txt,sha256=4QOslsBp8Gh7ng25DceA7fHp4KguTIdAxwURz97gH-g,20
7
- fyodorov_llm_agents-0.2.77.dist-info/RECORD,,