mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-25 04:03:32 +00:00
fix: restore gate after rebase
This commit is contained in:
@@ -914,7 +914,7 @@ describe("applyExtraParamsToAgent", () => {
|
||||
compat: {
|
||||
requiresOpenAiAnthropicToolPayload: true,
|
||||
},
|
||||
} as Model<"anthropic-messages">;
|
||||
} as unknown as Model<"anthropic-messages">;
|
||||
const context: Context = { messages: [] };
|
||||
void agent.streamFn?.(model, context, {});
|
||||
|
||||
|
||||
@@ -157,5 +157,5 @@ export function resolveTranscriptToolCallIdMode(
|
||||
if (modelIncludesAnyHint(modelId, capabilities.transcriptToolCallIdModelHints)) {
|
||||
return "strict9";
|
||||
}
|
||||
return mode === "strict9" ? mode : undefined;
|
||||
return undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user