Skip to content

Commit

Permalink
fix: 创建智能体的模型选择不生效
Browse files Browse the repository at this point in the history
  • Loading branch information
xujingli committed Sep 2, 2024
1 parent be0a015 commit 89ab29e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web-apps/ui/src/views/agents/modal/create.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ export const AgentModalComponent = (props: ModalItemProps<any>) => {
description: values.description,
prompt: { instruction: ' ', introduction: ' ', target: ' ' },
planner: { id: values.plannerId, nickname: '' },
llm: llmManager.default,
llm: values.llm,
// llm: llmManager.default,
};
const res = await agentManager.create(meta);
if (res.status === 200) {
Expand Down

0 comments on commit 89ab29e

Please sign in to comment.