chore: generate
This commit is contained in:
+1
-5
@@ -6,11 +6,7 @@
|
|||||||
"provider": "anthropic",
|
"provider": "anthropic",
|
||||||
"protocol": "anthropic-messages",
|
"protocol": "anthropic-messages",
|
||||||
"route": "anthropic-messages",
|
"route": "anthropic-messages",
|
||||||
"tags": [
|
"tags": ["opencode", "native", "tool-loop"]
|
||||||
"opencode",
|
|
||||||
"native",
|
|
||||||
"tool-loop"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"interactions": [
|
"interactions": [
|
||||||
{
|
{
|
||||||
|
|||||||
+1
-6
@@ -6,12 +6,7 @@
|
|||||||
"provider": "opencode",
|
"provider": "opencode",
|
||||||
"protocol": "openai-responses",
|
"protocol": "openai-responses",
|
||||||
"route": "openai-responses",
|
"route": "openai-responses",
|
||||||
"tags": [
|
"tags": ["opencode", "zen", "native", "tool-loop"]
|
||||||
"opencode",
|
|
||||||
"zen",
|
|
||||||
"native",
|
|
||||||
"tool-loop"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"interactions": [
|
"interactions": [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -168,7 +168,9 @@ function recordedNativeLLMLayer(spec: ProviderSpec) {
|
|||||||
Layer.provide(Provider.defaultLayer),
|
Layer.provide(Provider.defaultLayer),
|
||||||
Layer.provide(Plugin.defaultLayer),
|
Layer.provide(Plugin.defaultLayer),
|
||||||
Layer.provide(recordedClient),
|
Layer.provide(recordedClient),
|
||||||
Layer.provide(HttpRecorder.Cassette.fileSystem({ directory: FIXTURES_DIR }).pipe(Layer.provide(NodeFileSystem.layer))),
|
Layer.provide(
|
||||||
|
HttpRecorder.Cassette.fileSystem({ directory: FIXTURES_DIR }).pipe(Layer.provide(NodeFileSystem.layer)),
|
||||||
|
),
|
||||||
Layer.provide(RuntimeFlags.layer({ experimentalNativeLlm: true })),
|
Layer.provide(RuntimeFlags.layer({ experimentalNativeLlm: true })),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -206,7 +208,9 @@ const toolRoundtrip = (
|
|||||||
{ role: "assistant", content: [{ type: "tool-call", toolCallId: call.id, toolName: call.name, input: call.input }] },
|
{ role: "assistant", content: [{ type: "tool-call", toolCallId: call.id, toolName: call.name, input: call.input }] },
|
||||||
{
|
{
|
||||||
role: "tool",
|
role: "tool",
|
||||||
content: [{ type: "tool-result", toolCallId: call.id, toolName: call.name, output: { type: "json", value: result } }],
|
content: [
|
||||||
|
{ type: "tool-result", toolCallId: call.id, toolName: call.name, output: { type: "json", value: result } },
|
||||||
|
],
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user