Skip to content
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

The parameter "spring.ai.chat.client.enabled" is invalid. #363

Open
keene06 opened this issue Jan 10, 2025 · 1 comment
Open

The parameter "spring.ai.chat.client.enabled" is invalid. #363

keene06 opened this issue Jan 10, 2025 · 1 comment

Comments

@keene06
Copy link

keene06 commented Jan 10, 2025

我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。另外请按照如下要求提交相关信息节省社区维护同学的理解成本,否则该讨论极有可能直接被忽视或关闭。
We recommend using English. If you are non-native English speaker, you can use the translation software. We recommend using English. If you are non-native English speaker, you can use the translation software. In addition, please submit relevant information according to the following requirements to save the understanding cost of community maintenances, otherwise the discussion is very likely to be ignored or closed directly.

Which Component
When starting the project, I configured spring.ai.chat.client.enabled=false, but it still prompts that the DashScope API key must be set. Use the connection property: spring.ai.dashscope.api-key or spring.ai.dashscope.chat.api-key property.

Describe the bug
The project cannot start normally.

Simplest demo
Set the parameter spring.ai.chat.client.enabled to false.

To Reproduce
Steps to reproduce the behavior:
Set the parameter spring.ai.chat.client.enabled to false.

Expected behavior
The project can be initiated successfully.

Screenshots
xx

Additional context
Add any other context about the problem here.
e.g. MacOS 、Java17 、 Version 1.0.0-M2.1

@keene06
Copy link
Author

keene06 commented Jan 10, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant