Selaa lähdekoodia

chore: generate

opencode-agent[bot] 1 kuukausi sitten
vanhempi
sitoutus
b10d617c80
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  1. 5 1
      packages/llm/src/protocols/anthropic-messages.ts

+ 5 - 1
packages/llm/src/protocols/anthropic-messages.ts

@@ -516,7 +516,11 @@ const fromRequest = Effect.fn("AnthropicMessages.fromRequest")(function* (reques
     request.tools.length === 0 || request.toolChoice?.type === "none"
     request.tools.length === 0 || request.toolChoice?.type === "none"
       ? undefined
       ? undefined
       : request.tools.map((tool) =>
       : request.tools.map((tool) =>
-          lowerTool(breakpoints, tool, ToolSchemaProjection.modelCompatibility(tool.inputSchema, toolSchemaCompatibility)),
+          lowerTool(
+            breakpoints,
+            tool,
+            ToolSchemaProjection.modelCompatibility(tool.inputSchema, toolSchemaCompatibility),
+          ),
         )
         )
   const system =
   const system =
     request.system.length === 0
     request.system.length === 0