44 lines
1.6 KiB
JSON
44 lines
1.6 KiB
JSON
[
|
|
{
|
|
"level": "debug",
|
|
"message": {
|
|
"id": "gen-1736963368-mc5na3vrtYewOp9vu7hf",
|
|
"provider": "Amazon Bedrock",
|
|
"model": "anthropic/claude-3.5-sonnet",
|
|
"object": "chat.completion",
|
|
"created": 1736963368,
|
|
"choices": [
|
|
{
|
|
"logprobs": null,
|
|
"finish_reason": "tool_calls",
|
|
"index": 0,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": "I'll help you set up a TypeScript project with tsup. I notice you have an existing TypeScript/Node.js project configuration, and you want to switch to using tsup. I'll create a new configuration that maintains your existing functionality while migrating to tsup.\n\nLet me help you set this up by:\n1. Adding tsup as a dependency\n2. Creating a tsup configuration file\n3. Updating the package.json build scripts\n\nFirst, let's install tsup:",
|
|
"refusal": null,
|
|
"tool_calls": [
|
|
{
|
|
"id": "tooluse_iLzgz83QRXm3viq24ahmpg",
|
|
"index": 0,
|
|
"type": "function",
|
|
"function": {
|
|
"name": "execute_command",
|
|
"arguments": "{\"command\": \"npm\", \"args\": [\"install\", \"--save-dev\", \"tsup\"]}",
|
|
"parsed_arguments": null
|
|
}
|
|
}
|
|
],
|
|
"parsed": null
|
|
}
|
|
}
|
|
],
|
|
"usage": {
|
|
"prompt_tokens": 2592,
|
|
"completion_tokens": 156,
|
|
"total_tokens": 2748
|
|
}
|
|
},
|
|
"timestamp": "2025-01-15T17:49:34.356Z",
|
|
"service": "collector:onChatCompletion"
|
|
}
|
|
] |