Class OpenAiCompatibleChatCompletionClient

java.lang.Object
ch.tocco.nice2.optional.aiassistant.impl.function.manual.OpenAiCompatibleChatCompletionClient
All Implemented Interfaces:
ChatCompletionClient

@Component public class OpenAiCompatibleChatCompletionClient extends Object implements ChatCompletionClient
ChatCompletionClient backed by an OpenAI-compatible /chat/completions endpoint, configured via ManualParameterProvider. Tool calls are executed locally and their results sent back to the LLM, for at most MAX_TOOL_ROUNDS rounds; then the LLM must answer.