Changesets · Branches · Tags · Compare
| Changeset | 5b67f1cbfef0842ab288a9240f3eaa12f0a95cd47594b6644a8a17e0bed80523 |
|---|---|
| Author | Dallin Romney <dallinromney@gmail.com> · 2025-07-01 19:25 -07:00 |
| Committer | GitHub <noreply@github.com> · 2025-07-01 19:25 -07:00 |
| Parents | e1a75b61f8f3 |
5 files changed
modified core/tools/callTool.ts +1 −1
| @@ -179,7 +179,6 @@ | ||
| 179 | 179 | contextItems: ContextItem[], |
| 180 | 180 | success: boolean, |
| 181 | 181 | ) { |
| 182 | - console.log(toolCall.function.arguments); | |
| 183 | 182 | void DataLogger.getInstance().logDevData({ |
| 184 | 183 | name: "toolUsage", |
| 185 | 184 | data: { |
| @@ -187,6 +186,7 @@ | ||
| 187 | 186 | functionName: toolCall.function.name, |
| 188 | 187 | functionArgs: toolCall.function.arguments, |
| 189 | 188 | toolCallArgs: args, |
| 189 | + parsedArgs: args, | |
| 190 | 190 | output: contextItems, |
| 191 | 191 | succeeded: success, |
| 192 | 192 | }, |
modified gui/package-lock.json +0 −0
Not shown: the file is larger than the hub shows, or this page holds as much as it shows. View the file.
modified gui/src/redux/util/index.ts +1 −0
| @@ -31,6 +31,7 @@ | ||
| 31 | 31 | functionName: toolCallState.toolCall?.function?.name, |
| 32 | 32 | functionArgs: toolCallState.toolCall?.function?.arguments, |
| 33 | 33 | toolCallArgs: safeParseToolCallArgs(toolCallState.toolCall), |
| 34 | + parsedArgs: toolCallState.parsedArgs, | |
| 34 | 35 | output: finalOutput || toolCallState.output || [], |
| 35 | 36 | succeeded: success, |
| 36 | 37 | }, |
modified packages/config-yaml/src/schemas/data/toolUsage/index.ts +1 −0
| @@ -6,6 +6,7 @@ | ||
| 6 | 6 | functionName: z.string(), |
| 7 | 7 | functionArgs: z.string(), |
| 8 | 8 | toolCallArgs: z.any(), |
| 9 | + parsedArgs: z.any(), | |
| 9 | 10 | succeeded: z.boolean(), |
| 10 | 11 | output: z.array(z.any()).optional(), |
| 11 | 12 | }); |
modified packages/config-yaml/src/schemas/data/toolUsage/v0.2.0.ts +2 −1
| @@ -14,6 +14,7 @@ | ||
| 14 | 14 | functionName: true, |
| 15 | 15 | functionArgs: true, |
| 16 | 16 | toolCallArgs: true, |
| 17 | + parsedArgs: true, | |
| 17 | 18 | succeeded: true, |
| 18 | 19 | output: true, |
| 19 | 20 | }); |
| @@ -21,6 +22,6 @@ | ||
| 21 | 22 | export const toolUsageEventSchema_0_2_0_noCode = |
| 22 | 23 | toolUsageEventSchema_0_2_0.omit({ |
| 23 | 24 | functionArgs: true, |
| 24 | - toolCallArgs: true, | |
| 25 | + parsedArgs: true, | |
| 25 | 26 | output: true, |
| 26 | 27 | }); |