Browse Source

chore: generate

opencode-agent[bot] 1 tháng trước cách đây
mục cha
commit
b10d617c80
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  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"
       ? undefined
       : request.tools.map((tool) =>
-          lowerTool(breakpoints, tool, ToolSchemaProjection.modelCompatibility(tool.inputSchema, toolSchemaCompatibility)),
+          lowerTool(
+            breakpoints,
+            tool,
+            ToolSchemaProjection.modelCompatibility(tool.inputSchema, toolSchemaCompatibility),
+          ),
         )
   const system =
     request.system.length === 0