fyodorov-llm-agents 0.3.4__py3-none-any.whl → 0.3.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.
- fyodorov_llm_agents/agents/agent.py +1 -1
- {fyodorov_llm_agents-0.3.4.dist-info → fyodorov_llm_agents-0.3.5.dist-info}/METADATA +1 -1
- {fyodorov_llm_agents-0.3.4.dist-info → fyodorov_llm_agents-0.3.5.dist-info}/RECORD +5 -5
- {fyodorov_llm_agents-0.3.4.dist-info → fyodorov_llm_agents-0.3.5.dist-info}/WHEEL +0 -0
- {fyodorov_llm_agents-0.3.4.dist-info → fyodorov_llm_agents-0.3.5.dist-info}/top_level.txt +0 -0
@@ -138,7 +138,7 @@ class Agent(BaseModel):
|
|
138
138
|
print(f"calling litellm with model {model}, messages: {messages}, max_retries: 0, history: {history}, base_url: {base_url}")
|
139
139
|
response = litellm.completion(model=model, messages=messages, max_retries=0, base_url=base_url)
|
140
140
|
print(f"Response: {response}")
|
141
|
-
answer = response.choices[0].message
|
141
|
+
answer = response.choices[0].message.content
|
142
142
|
print(f"Answer: {answer}")
|
143
143
|
return {
|
144
144
|
"answer": answer,
|
@@ -1,9 +1,9 @@
|
|
1
|
-
fyodorov_llm_agents/agents/agent.py,sha256=
|
1
|
+
fyodorov_llm_agents/agents/agent.py,sha256=5cMioJ1AbA7_aSITNm5OnzyOuVKO2GvlLFaw79PhoZI,6519
|
2
2
|
fyodorov_llm_agents/agents/openai.py,sha256=FA5RS7yn3JwvFA8PXju60XSYC_2oUZFNgBUzeIYtGv0,1154
|
3
3
|
fyodorov_llm_agents/tools/mcp_tool_model.py,sha256=i7oFZReVGZsHN2K8T7mCAGF4t92wMMIR9mCkRHUgKsI,4413
|
4
4
|
fyodorov_llm_agents/tools/mcp_tool_service.py,sha256=9tDvSdKpEAOKKU5MHImUqTOc6MZyk1hEjs3GpzgQUsk,5542
|
5
5
|
fyodorov_llm_agents/tools/tool.py,sha256=HyOk0X_3XE23sa8J-8UZx657tJ0sxwZWMbA4OPxXU6E,7940
|
6
|
-
fyodorov_llm_agents-0.3.
|
7
|
-
fyodorov_llm_agents-0.3.
|
8
|
-
fyodorov_llm_agents-0.3.
|
9
|
-
fyodorov_llm_agents-0.3.
|
6
|
+
fyodorov_llm_agents-0.3.5.dist-info/METADATA,sha256=8CP5iEUiu3Fio260KLeMNv6ExXR04vgnR2NCMTWjFiM,550
|
7
|
+
fyodorov_llm_agents-0.3.5.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
|
8
|
+
fyodorov_llm_agents-0.3.5.dist-info/top_level.txt,sha256=4QOslsBp8Gh7ng25DceA7fHp4KguTIdAxwURz97gH-g,20
|
9
|
+
fyodorov_llm_agents-0.3.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|