Skip to content

feat: remove hardcoded default models from integrations#670

Merged
nicoloboschi merged 4 commits intomainfrom
feat/openclaw-remove-default-models
Mar 24, 2026
Merged

feat: remove hardcoded default models from integrations#670
nicoloboschi merged 4 commits intomainfrom
feat/openclaw-remove-default-models

Conversation

@nicoloboschi
Copy link
Collaborator

Summary

  • Remove hardcoded defaultModel from openclaw and claude-code integrations
  • Integrations now rely on Hindsight API's built-in default models instead of each integration maintaining its own model list
  • Updated integration docs to reflect the change

Changes

  • openclaw (index.ts): stripped defaultModel from PROVIDER_DETECTION, removed all providerInfo?.defaultModel fallbacks in detectLLMConfig
  • claude-code (llm.py): same change in the Python port
  • docs: removed default model column from openclaw provider table, removed model hints from setup comments in both openclaw and claude-code docs

Test plan

  • Verify openclaw plugin starts correctly with just OPENAI_API_KEY set (no explicit model)
  • Verify claude-code integration starts correctly with just a provider API key
  • Verify explicit HINDSIGHT_API_LLM_MODEL override still works

@nicoloboschi nicoloboschi force-pushed the feat/openclaw-remove-default-models branch from 17c7a58 to 2706700 Compare March 24, 2026 09:03
@nicoloboschi nicoloboschi merged commit 58e68f3 into main Mar 24, 2026
39 of 41 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