add <hr /> above tool_call msg
This commit is contained in:
@@ -294,11 +294,14 @@ export default function Message(props: Props) {
|
|||||||
<div className="message-content">
|
<div className="message-content">
|
||||||
<div>
|
<div>
|
||||||
{chat.tool_calls?.map((tool_call) => (
|
{chat.tool_calls?.map((tool_call) => (
|
||||||
<div className="bg-blue-300 dark:bg-blue-800 p-1 rounded">
|
<>
|
||||||
<strong>Tool Call ID: {tool_call?.id}</strong>
|
<hr className="my-1" />
|
||||||
<p>Type: {tool_call?.type}</p>
|
<div className="bg-blue-300 dark:bg-blue-800 p-1 rounded">
|
||||||
<p>Function: {JSON.stringify(tool_call?.function)}</p>
|
<strong>Tool Call ID: {tool_call?.id}</strong>
|
||||||
</div>
|
<p>Type: {tool_call?.type}</p>
|
||||||
|
<p>Function: {JSON.stringify(tool_call?.function)}</p>
|
||||||
|
</div>
|
||||||
|
</>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user