Commit 6c34971
refactor: remove unnecessary external-id from tool-call state
The external-id (thought signature for Google Gemini) doesn't need to
be stored in the tool-call state because:
1. The tool-call object from the LLM provider already contains it
2. When adding to history, we use the original tool-call object which
preserves the external-id
3. The tool-call state is only for tracking execution status, not for
reconstructing tool-calls
This addresses review feedback on PR #234 about why external-id was
stored in the state.
🤖 Generated with [eca](https://eca.dev)
Co-Authored-By: eca <[email protected]>1 parent fa88086 commit 6c34971
File tree
2 files changed
+1
-4
lines changed- src/eca/features
- test/eca/features
2 files changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
560 | 560 | | |
561 | 561 | | |
562 | 562 | | |
563 | | - | |
564 | 563 | | |
565 | 564 | | |
566 | 565 | | |
| |||
1125 | 1124 | | |
1126 | 1125 | | |
1127 | 1126 | | |
1128 | | - | |
| 1127 | + | |
1129 | 1128 | | |
1130 | 1129 | | |
1131 | 1130 | | |
| |||
1134 | 1133 | | |
1135 | 1134 | | |
1136 | 1135 | | |
1137 | | - | |
1138 | 1136 | | |
1139 | 1137 | | |
1140 | 1138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
| |||
0 commit comments