feat: add Evolink as LLM provider for agent mode#214
Conversation
|
@EvoLinkAI is attempting to deploy a commit to the Kiyeon Jeon's projects Team on Vercel. A member of the Team first needs to authorize it. |
✅ Real-Call VerificationKey test (curl): HTTP 200, gpt-5.2 via Local test results:
Coverage:
|
🔬 Real API VerificationVerified with a real Evolink API key ( 1. Direct curl (key check)2. vibe agent -p evolink (full adapter path)3. Fix: default model changed to gpt-5.2
4. Local test suite🤖 Generated with Claude Code |
|
Thanks for the PR. The Evolink provider integration looks useful, and the OpenAI-compatible adapter shape fits the existing OpenRouter-style path well. I ran a local review and the focused checks pass on my side:
Before merging, could you please adjust two things?
The Vercel check is just external PR deployment authorization on my side, so I’ll handle that separately. |
Add Evolink (evolink.ai) as a new agent LLM provider following the OpenRouter virtual-provider pattern. Evolink is an OpenAI-compatible API gateway providing access to GPT-5, Claude, Gemini, DeepSeek, Doubao Seed, and more through a single API key. Changes: - ai-providers: defineApiKey (EVOLINK_API_KEY) + defineProvider (llm) - agent: EvolinkAdapter class (OpenAI compat, base direct.evolink.ai/v1) - config: LLMProvider union, PROVIDER_NAMES, VibeConfig.providers - commands: agent -p evolink, setup provider list, key-live tester - MODELS.md: Evolink section with model table - .env.example: regenerated from apiKey registry Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
evolink-auto is listed in the Evolink catalog but returns 400 "No available service" when called via the API (verified with curl). Use gpt-5.2 as the default — confirmed working with real API call through . Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
122d760 to
1d4d461
Compare
kiyeonjeon21
left a comment
There was a problem hiding this comment.
Thanks for adding Evolink provider support. I would hold this before merge because the documented --model path does not currently affect the Evolink adapter.
AgentExecutor.initialize() creates and initializes the adapter, but never applies this.config.model. EvolinkAdapter has setModel() and defaults to gpt-5.2, so a command such as vibe agent -p evolink --model ... will still use the adapter default instead of the requested model.
Please wire the configured model into adapters, add a focused test proving agent model overrides reach the adapter, and update the MODELS.md quick reference so it does not imply Evolink Auto if the actual default is gpt-5.2.
Summary
Add Evolink (evolink.ai) as a new agent LLM provider, following the existing OpenRouter virtual-provider pattern. Evolink is an OpenAI-compatible API gateway that provides access to GPT-5, Claude, Gemini, DeepSeek, Doubao Seed, and more through a single API key.
Default model:
gpt-5.2(reliable and fast for agentic loops).evolink-autois listed in the Evolink catalog but is not currently routable (returns 400).Changes
defineApiKey(EVOLINK_API_KEY) +defineProvider(llm virtual provider, no new directory)EvolinkAdapter— OpenAI-compatible LLM adapter, base URLhttps://direct.evolink.ai/v1, default modelgpt-5.2"evolink"toLLMProviderunion typeLLMProvider,VibeConfig.providers,PROVIDER_NAMESPROVIDER_KEY_BY_ENV_VARandAPI_KEY_URLSentries-p evolinkoption, providerKeyMap, getEnvVar entriesType of Change
Testing
pnpm buildpassespnpm typecheckpassespnpm testpasses (1057 tests, 0 failures)pnpm lintpasses (0 errors)pnpm gen:reference:checkpassesvibe agent -p evolinkreturns "Hello from VibeFrame via Evolink" (1 turn, HTTP 200)Manual test:
vibe agent --helpshowsevolinkin provider list.Real Call Evidence
See PR comment for full verification output.
Checklist
MODELS.md,packages/ai-providers/)🤖 Generated with Claude Code