-
Notifications
You must be signed in to change notification settings - Fork 252
Open
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels