What version of Effect is running?
No response
What steps can reproduce the bug?
@effect/ai: 0.22.1
@effect/ai-anthropic 0.12.2
export class TestToolkit extends AiToolkit.make(
AiTool.make('test/mytool', {
description: '....',
parameters: {
query: Schema.String.annotations({
description: '...',
}),
},
success: Schema.Unknown,
failure: Schema.Never,
}),
) {}
Using anthropic client with this toolkit will throw an opaque http error. This is difficult to debug without tapping into the HTTP client.
What is the expected behavior?
A more specific error message is desired.
What do you see instead?
No response
Additional information
No response