Changesets · Branches · Tags · Compare
| Changeset | a0c996c3d18aeb541c2dd78efbcda4abb044b58dd90d50e34d41e8d8fb26cace |
|---|---|
| Author | Patrick Erichsen <patrick.a.erichsen@gmail.com> · 2025-07-02 14:26 -07:00 |
| Committer | GitHub <noreply@github.com> · 2025-07-02 14:26 -07:00 |
| Parents | 72bc0de62a70, 5b67f1cbfef0 |
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
| @@ -43,6 +43,7 @@ | ||
| 43 | 43 | functionName: toolCallState.toolCall?.function?.name, |
| 44 | 44 | functionArgs: toolCallState.toolCall?.function?.arguments, |
| 45 | 45 | toolCallArgs: safeParseToolCallArgs(toolCallState.toolCall), |
| 46 | + parsedArgs: toolCallState.parsedArgs, | |
| 46 | 47 | output: finalOutput || toolCallState.output || [], |
| 47 | 48 | succeeded: success, |
| 48 | 49 | }, |
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 | }); |