-
Notifications
You must be signed in to change notification settings - Fork 1.3k
chatModel cannot be null #2810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Same issue here with the snapshot release, OpenAI and |
Yes, I also encountered the issue locally, the stack information is as follows |
The actual issue is here at line 155 of the AdvisedRequest class: |
FYI, when facing same issue last week, moving our spring ai dependency back to milestone 7 (M7) instead of snapshot build fixed it. |
Removing |
I already config chat model in config file, but still tell me that cannot be null when use deepseek model.
application yaml:
spring:
ai:
openai:
base-url: https://api.deepseek.com
api-key: ${DEEPSEEK_API_KEY}
chat:
options:
model: deepseek-chat
build.gradle:
implementation platform("org.springframework.ai:spring-ai-bom:1.0.0-SNAPSHOT")
implementation 'org.springframework.ai:spring-ai-openai'
implementation 'org.springframework.ai:spring-ai-starter-model-openai'
And actually, during the morning, this was ok.
I didn't change the code, it's confusing me..
The text was updated successfully, but these errors were encountered: