Skip to content

feat(hermes): pass ModelConfig baseUrl into Hermes config - #2448

Open
fangliquanflq wants to merge 1 commit into
kagent-dev:mainfrom
fangliquanflq:feat/hermes-modelconfig-base-url
Open

feat(hermes): pass ModelConfig baseUrl into Hermes config#2448
fangliquanflq wants to merge 1 commit into
kagent-dev:mainfrom
fangliquanflq:feat/hermes-modelconfig-base-url

Conversation

@fangliquanflq

Copy link
Copy Markdown

Summary

  • Propagate ModelConfig OpenAI/Anthropic baseUrl (and other explicit endpoints) into Hermes model.base_url during Substrate actor startup
  • Extract shared modelconfig.ExplicitBaseURL helper used by OpenClaw and Hermes
  • Add unit coverage for Hermes prelude with/without baseUrl

Test plan

  • go test ./pkg/sandboxbackend/modelconfig/ ./pkg/sandboxbackend/substrate/ ./pkg/sandboxbackend/openclaw/
  • Deploy Hermes AgentHarness with ModelConfig openAI.baseUrl pointing at a proxy and confirm traffic hits that endpoint

Wire explicit provider endpoints into ~/.hermes/config.yaml so Hermes
can target custom OpenAI/Anthropic-compatible gateways. Extract the
shared ModelConfig base-URL helper into sandboxbackend/modelconfig.

Signed-off-by: Fangliquan <fangliquan@oppo.com>
@fangliquanflq
fangliquanflq requested a review from a team as a code owner August 15, 2026 09:02
@github-actions github-actions Bot added the enhancement New feature or request label Aug 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant