Geini (@user2180)Elysiver Gemini 模型在opencode中配置 - @ai-sdk/anthropic 验证报告 中发帖

Elysiver Gemini 模型 - @ai-sdk/anthropic 验证报告
测试时间
2026-02-03
测试目标
验证 elysiver 的 gemini 模型能否使用 @ai-sdk/anthropic 调用,并解决 tool calling 问题。
测试结果摘要




SDK
连接状态
Tool Calling
说明




@ai-sdk/openai-compatible
可用
不支持
之前的配置


@ai-sdk/anthropic
可用
不支持
elysiver 支持 anthropic API 格式


@ai-sdk/google
不可用
-
不支持 OpenAI 兼容端点



核心发现
1. Elysiver 支持 Anthropic API 格式
验证成功:

API 路径 /v1/messages 返回 200
使用...