Skip to content

Default LLM ... not found in available models: [] #1358

Closed

Description

@syedyusufh

Env:
Spring Boot 4.0.2
Spring AI: 2.0.0-M2
Embabel: 0.3.3

I have a custom ChatModel and ChatClient beans defined based on the enterprise's custom api-key and base-url for OpenAI GPT-4o

When starting the Embabel Agent Spring Boot Application I get the below error,

Defaltt LLM 'gpt-4o' not found in available models: []

Activity

  1. igordayen commented on Jan 31, 2026

    @igordayen
    Contributor

    may i inquire whether you included dependency on openai starter:

    embabel-agent/embabel-agent-starters/embabel-agent-starter-openai

    Thank you

  2. changed the title [-]Defaltt LLM ... not found in available models: [][/-] [+]Default LLM ... not found in available models: [][/+] on Jan 31, 2026
  3. johnsonr commented on Jan 31, 2026

    @johnsonr
    Contributor

    Also, Spring Boot 4.0.2 is not yet supported...It may work but we haven't tested it

  4. syedyusufh commented on Feb 1, 2026

    @syedyusufh
    Author

    @igordayen yes, have included all the said dependencies. Tried debugging, however SpringAiLlmService class wasn't invoked, which would have provided the configured ChatModel bean.

    @johnsonr Also tried downgrading to Spring Boot 3.5.10, still the same.

  5. alexheifetz commented on Feb 1, 2026

    @alexheifetz
    Contributor

    @syedyusufh please elaborate on how did you put together Custom ChatModel Bean

    Please Note:
    Embabel Model Provider is designed to detect ChatModel wrapped as com.embabel.agent.spi.LlmService only.

    Meaning, if you have something like:

    @Bean 
    org.springframework.ai.chat.model.ChatModel myCustomModel() {}
    

    This would not work.

    There are other means to construct custom OpenAI compatible models either
    declaratively with one of our out-of-box Starters ( embabel-agent-starter-openai, or embabel-agent-starter-openai-custom ),
    or programmatically by utilizing com.embabel.agent.openai.OpenAiCompatibleModelFactory

  6. syedyusufh commented on Feb 1, 2026

    @syedyusufh
    Author

    Yes, I have a bean of type org.springframework.ai.chat.model.ChatModel.

    Thanks, let me check com.embabel.agent.openai.OpenAiCompatibleModelFactory

  7. johnsonr commented on Feb 1, 2026

    @johnsonr
    Contributor

    Converting to a discussion, as this does not seem like a bug or enhancement request.

  8. locked and limited conversation to collaborators on Feb 1, 2026
  9. converted this issue into a discussion #1360 on Feb 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions