Skip to content

compat(runtime): derive brain chat provider truth from runtime host#232

Merged
ToadAid merged 1 commit into
mainfrom
mirror/compat-runtime-derive-brain-chat-provider-truth-from-runtime-host
Mar 24, 2026
Merged

compat(runtime): derive brain chat provider truth from runtime host#232
ToadAid merged 1 commit into
mainfrom
mirror/compat-runtime-derive-brain-chat-provider-truth-from-runtime-host

Conversation

@ToadAid
Copy link
Copy Markdown
Owner

@ToadAid ToadAid commented Mar 24, 2026

  • make compat /api/brain/chat derive provider truth from runtimeHost.config instead of raw wrapper brainUrl / authToken arguments
  • preserve compat response shape, route behavior, auth behavior, and 400 error wording
  • keep replay protection behavior unchanged
  • update focused compat runtime tests to pin the new truth source
  • verification passed:
    • pnpm check
    • pnpm vitest run src/compat/openclaw/runtime/server.test.ts

@ToadAid ToadAid merged commit 7dd0e65 into main Mar 24, 2026
27 of 28 checks passed
@ToadAid ToadAid deleted the mirror/compat-runtime-derive-brain-chat-provider-truth-from-runtime-host branch March 24, 2026 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant