fixes
This commit is contained in:
parent
28952ba9ac
commit
d9911a60e4
2 changed files with 5 additions and 6 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
}}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue