openclaw - 💡(How to fix) Fix Straico API: GPT-5 Pro returns 'Missing model or smart llm selector' on /v1/chat/completions [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#68613Fetched 2026-04-19 15:09:33
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
0
Author
Participants

Error Message

Actual behavior: Straico API returns error: {"error":"Missing model or smart llm selector","success":false}

Root Cause

When using Straico as the default model provider, OpenClaw falls back to MiniMax because Straico API calls fail.

RAW_BUFFERClick to expand / collapse

Bug Description

When using Straico as the default model provider, OpenClaw falls back to MiniMax because Straico API calls fail.

Expected behavior: OpenClaw should route requests to Straico's GPT-5 Pro model. Actual behavior: Straico API returns error: {"error":"Missing model or smart llm selector","success":false}

Environment

  • OpenClaw version: 2026.4.15
  • Model: straico/openai/gpt-5-pro
  • Auth mode: api_key (key stored in ~/.openclaw/credentials/straico)
  • API configured as: openai-responses in openclaw.json

Steps to Reproduce

  1. Set Straico API key in ~/.openclaw/credentials/straico
  2. Set default model to straico/openai/gpt-5-pro in openclaw.json
  3. Attempt to use the model — falls back to MiniMax

API Investigation

Possible Causes

  1. Straico may require an additional routing parameter (smart_llm_selector)
  2. The openai-responses API mode may be incompatible with Straico's implementation
  3. Subagent model allowlist also blocks straico models

Suggested Fix

  1. Check Straico's /v1/chat/completions requirements vs OpenAI standard
  2. Investigate if a different API mode or headers are needed for Straico
  3. Add Straico to subagent model allowlist

extent analysis

TL;DR

The most likely fix is to modify the API request to include the required smart_llm_selector parameter or adjust the API mode to match Straico's implementation.

Guidance

  • Investigate Straico's API documentation for the /v1/chat/completions endpoint to determine the exact requirements for the smart_llm_selector parameter.
  • Compare the API mode openai-responses in OpenClaw with Straico's implementation to identify potential incompatibilities.
  • Verify that the subagent model allowlist is not blocking Straico models by checking the allowlist configuration.
  • Test the API request with a different mode or headers to see if it resolves the issue.

Example

No code snippet is provided as the issue does not contain sufficient information about the API implementation.

Notes

The fix may require adjustments to the OpenClaw configuration or the API request itself. It is also possible that Straico's API implementation is not compatible with OpenClaw's current implementation.

Recommendation

Apply workaround: Modify the API request to include the required smart_llm_selector parameter or adjust the API mode to match Straico's implementation, as this is the most likely cause of the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Straico API: GPT-5 Pro returns 'Missing model or smart llm selector' on /v1/chat/completions [1 participants]