Skip to content

Commit 1f4f816

Browse files
sestinjContinue
andcommitted
Fix typo in BrowserSerializedContinueConfig type definition
The type incorrectly referenced 'evaluatePolicy' instead of 'evaluateToolCallPolicy', which is the actual field name in the Tool interface. This prevented TypeScript from properly enforcing the omission of this field when serializing tools for the browser. Fixes CON-4401 Generated with [Continue](https://continue.dev) Co-authored-by: Continue <[email protected]> Co-authored-by: [email protected]
1 parent 3c630d7 commit 1f4f816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1789,7 +1789,7 @@ export interface BrowserSerializedContinueConfig {
17891789
experimental?: ExperimentalConfig;
17901790
analytics?: AnalyticsConfig;
17911791
docs?: SiteIndexingConfig[];
1792-
tools: Omit<Tool, "preprocessArgs", "evaluatePolicy">[];
1792+
tools: Omit<Tool, "preprocessArgs", "evaluateToolCallPolicy">[];
17931793
mcpServerStatuses: MCPServerStatus[];
17941794
rules: RuleWithSource[];
17951795
usePlatform: boolean;

0 commit comments

Comments
 (0)