Skip to content

Spring.ai.model.chat=none configuration does not take effect #3444

Closed
@Yapthes

Description

@Yapthes

Why did I set the configuration item 'spring.ai.model.chat=none' in my properties, but still perform an apikey check during service startup and throw an exception 'OpenAI API key must be set'.
If it is still necessary to configure the apikey to properties, is it unreasonable to overwrite the apikey when using mute for multi chat model configuration in the official documentation

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions