diff --git a/core/llm/llms/Anthropic.ts b/core/llm/llms/Anthropic.ts index 366174cfe..a5068e49b 100644 --- a/core/llm/llms/Anthropic.ts +++ b/core/llm/llms/Anthropic.ts @@ -59,7 +59,7 @@ class Anthropic extends BaseLLM { type: "tool_use", id: toolCall.id, name: toolCall.function?.name, - input: JSON.parse(toolCall.function?.arguments ?? "{}"), + input: JSON.parse(toolCall.function?.arguments || "{}"), })), }; } @@ -173,7 +173,7 @@ class Anthropic extends BaseLLM { ] : systemMessage, }), - signal + signal, }); if (options.stream === false) { diff --git a/gui/src/pages/gui/ToolCallDiv/ThreadDiv.tsx b/gui/src/pages/gui/ToolCallDiv/ThreadDiv.tsx index ef42c4a44..de20f6437 100644 --- a/gui/src/pages/gui/ToolCallDiv/ThreadDiv.tsx +++ b/gui/src/pages/gui/ToolCallDiv/ThreadDiv.tsx @@ -14,11 +14,10 @@ const Container = styled.div` justify-content: center; position: relative; padding: 8px; + padding-bottom: 0; `; -const ChildrenDiv = styled.div` - margin: 8px; -`; +const ChildrenDiv = styled.div``; const W = 16; @@ -37,7 +36,7 @@ export function ThreadDiv(props: ThreadDivProps) { style={{ width: `${W}px`, height: `${W}px`, - fontWeight: "bold", + fontWeight: "bolder", marginTop: "1px", }} >