We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53190b6 commit 6bcf0c7Copy full SHA for 6bcf0c7
lib/state/tool-cache.ts
@@ -17,6 +17,7 @@ export async function syncToolCache(
17
logger.info("Syncing tool parameters from OpenCode messages")
18
19
state.nudgeCounter = 0
20
+ state.toolParameters.clear()
21
22
for (const msg of messages) {
23
for (const part of msg.parts) {
@@ -47,9 +48,6 @@ export async function syncToolCache(
47
48
)
49
}
50
-
51
- // logger.info(`nudgeCounter=${state.nudgeCounter}, lastToolPrune=${state.lastToolPrune}`)
52
53
trimToolParametersCache(state)
54
} catch (error) {
55
logger.warn("Failed to sync tool parameters from OpenCode", {
0 commit comments