Skip to content

fix(examples): provider erc8183 tool names + MiMo base URL#552

Merged
riyannode merged 1 commit into
mainfrom
fix/example-provider-erc8183-names
Jun 18, 2026
Merged

fix(examples): provider erc8183 tool names + MiMo base URL#552
riyannode merged 1 commit into
mainfrom
fix/example-provider-erc8183-names

Conversation

@riyannode

Copy link
Copy Markdown
Owner

What

Why

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_URL enables 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 URL
  • agents/examples/langchain-runtime-server/src/index.ts — OPENAI_BASE_URL → ChatOpenAI configuration.baseURL

Test

  • Adapter: 105/105 pass
  • Runner: 709/709 pass

- 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.
@netlify

netlify Bot commented Jun 18, 2026

Copy link
Copy Markdown

Deploy Preview for rainbow-macaron-5d0d9a ready!

Name Link
🔨 Latest commit bec12e6
🔍 Latest deploy log https://app.netlify.com/projects/rainbow-macaron-5d0d9a/deploys/6a33b65f2ce9030008356fde
😎 Deploy Preview https://deploy-preview-552--rainbow-macaron-5d0d9a.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
arcwork Ready Ready Preview, Comment Jun 18, 2026 9:13am

Request Review

@riyannode
riyannode merged commit 9636e40 into main Jun 18, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant