Skip to content

AI Service interceptor configures both ChatModel and StreamingChatModel #233

@sdelamo

Description

@sdelamo

AiServiceFactory configures both ChatModel and StreamingChatModel.

https://github.com/micronaut-projects/micronaut-langchain4j/blob/2.0.x/micronaut-langchain4j-core/src/main/java/io/micronaut/langchain4j/aiservices/AiServiceFactory.java#L87-L89

However, AiServices::chatModel and AiServices::streamingChatModel:

Either ChatModel or StreamingChatModel should be configured, but not both at the same time.

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions