fix(examples): provider erc8183 tool names + MiMo base URL#552
Merged
Conversation
- Fix provider agent: replace stale arclayer_provider_* with erc8183_provider_* in prompts and availableTools (PR #551 follow-up) - Add OPENAI_BASE_URL support to provider agent (ChatOpenAI instance with custom configuration.baseURL) - Add OPENAI_BASE_URL support to langchain-runtime-server (OpenAI-compatible backends like MiMo) Provider agent was referencing old tool names that no longer exist after PR #551 renamed them to protocol-first erc8183_* surface.
✅ Deploy Preview for rainbow-macaron-5d0d9a ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
arclayer_provider_*tool names in provider agent example →erc8183_provider_*(PR refactor(langchain): migrate provider tools to protocol-first erc8183 surface #551 follow-up)OPENAI_BASE_URLsupport to both provider agent and langchain-runtime-serverWhy
After PR #551 renamed tools to protocol-first
erc8183_*surface, the example agent still referenced old names in prompts and availableTools. LLM would fail to find the correct tools at runtime.OPENAI_BASE_URLenables OpenAI-compatible backends (e.g. MiMo) without modifying source.Files
agents/examples/langchain-provider-agent/src/index.ts— 12 tool name replacements + ChatOpenAI instance for custom base URLagents/examples/langchain-runtime-server/src/index.ts— OPENAI_BASE_URL → ChatOpenAI configuration.baseURLTest