Skip to content

fix(memos-local-openclaw): respect OPENCLAW_STATE_DIR in fallback model config#1264

Open
hijzy wants to merge 3 commits intoMemTensor:openclaw-local-plugin-20260317from
hijzy:fix/profile-support
Open

fix(memos-local-openclaw): respect OPENCLAW_STATE_DIR in fallback model config#1264
hijzy wants to merge 3 commits intoMemTensor:openclaw-local-plugin-20260317from
hijzy:fix/profile-support

Conversation

@hijzy
Copy link
Collaborator

@hijzy hijzy commented Mar 17, 2026

Fixes #1224.

loadOpenClawFallbackConfig() was hardcoded to ~/.openclaw/openclaw.json, breaking --profile instances.

Now uses OPENCLAW_STATE_DIR if set.

Related: #1234 (same class of fix for viewer/server.ts)

openclaw-bot added 3 commits March 17, 2026 17:20
…back config

When using Anthropic as the OpenClaw native model, the fallback config
was incorrectly treating it as OpenAI-compatible, appending
/chat/completions to the endpoint. Now detects provider type from the
provider key or base URL and uses the correct endpoint format.

Fixes MemTensor#1254
…el config

loadOpenClawFallbackConfig() was hardcoded to ~/.openclaw. Now uses
OPENCLAW_STATE_DIR if set, making --profile instances work correctly.

Fixes MemTensor#1224
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