Skip to content

Commit

Permalink
[feature][headless-chat]Introduce ChatApp to support more flexible …
Browse files Browse the repository at this point in the history
…chat model config.#1739
  • Loading branch information
jerryjzhang committed Oct 12, 2024
1 parent 49d0638 commit b89cac3
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ public Agent getLLMAgent() {
ChatModel chatModel = new ChatModel();
chatModel.setName("Text2SQL LLM");
chatModel.setConfig(LLMConfigUtils.getLLMConfig(LLMConfigUtils.LLMType.OLLAMA_LLAMA3));
chatModel.setConfig(LocalLLMConfigUtils.getLLMConfig(LLMConfigUtils.LLMType.OPENAI_GPT));
chatModel = chatModelService.createChatModel(chatModel, User.getDefaultUser());
Integer chatModelId = chatModel.getId();
// configure chat apps
Expand Down

0 comments on commit b89cac3

Please sign in to comment.