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
I imported the .env file with gemini api key, and un # to load gemini model to agents but I'm still getting an error, could you upload or show how to just use gemini-pro model.
Exception has occurred: ValidationError
1 validation error for Agent
Value error, 1 validation error for ConversationSummaryMemory
llm
Can't instantiate abstract class BaseLanguageModel with abstract methods agenerate_prompt, apredict, apredict_messages, generate_prompt, invoke, predict, predict_messages (type=type_error) [type=value_error, input_value={'role': 'Market Research...***'), temperature=0.1)}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/value_error
File "/home/dongwook/Project/personal/test.py", line 23, in <module>
marketer = Agent(
pydantic_core._pydantic_core.ValidationError: 1 validation error for Agent
Value error, 1 validation error for ConversationSummaryMemory
llm
Can't instantiate abstract class BaseLanguageModel with abstract methods agenerate_prompt, apredict, apredict_messages, generate_prompt, invoke, predict, predict_messages (type=type_error) [type=value_error, input_value={'role': 'Market Research...***'), temperature=0.1)}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/value_error
The text was updated successfully, but these errors were encountered:
I imported the .env file with gemini api key, and un # to load gemini model to agents but I'm still getting an error, could you upload or show how to just use gemini-pro model.
The text was updated successfully, but these errors were encountered: