You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When called: from agents.extensions.models.litellm_model import LitellmModel
Appers this error mensage:
Traceback (most recent call last):
File "C:\Users\boomg\Documents\workspace\ws-python\sales-agent\example_1.py", line 5, in <module>
from agent import sales_agent_factory, CompanysContext
File "C:\Users\boomg\Documents\workspace\ws-python\sales-agent\agent.py", line 6, in <module>
from agents.extensions.models.litellm_model import LitellmModel
File "C:\Users\boomg\Documents\workspace\ws-python\sales-agent\env\lib\site-packages\agents\extensions\models\litellm_model.py", line 8, in <module>
import litellm.types
File "C:\Users\boomg\Documents\workspace\ws-python\sales-agent\env\lib\site-packages\litellm\__init__.py", line 763, in <module>
from .cost_calculator import completion_cost
File "C:\Users\boomg\Documents\workspace\ws-python\sales-agent\env\lib\site-packages\litellm\cost_calculator.py", line 19, in <module>
from litellm.litellm_core_utils.llm_cost_calc.utils import (
File "C:\Users\boomg\Documents\workspace\ws-python\sales-agent\env\lib\site-packages\litellm\litellm_core_utils\llm_cost_calc\utils.py", line 9, in <module>
from litellm.utils import get_model_info
File "C:\Users\boomg\Documents\workspace\ws-python\sales-agent\env\lib\site-packages\litellm\utils.py", line 188, in <module>
json_data = json.load(f)
File "C:\Users\boomg\AppData\Local\Programs\Python\Python310\lib\json\__init__.py", line 293, in load
return loads(fp.read(),
File "C:\Users\boomg\AppData\Local\Programs\Python\Python310\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 1980: character maps to <undefined>
Uh oh!
There was an error while loading. Please reload this page.
When called:
from agents.extensions.models.litellm_model import LitellmModel
Appers this error mensage:
Dependencies:
Python version:
3.10.7
The text was updated successfully, but these errors were encountered: