agent-orchestrator icon indicating copy to clipboard operation
agent-orchestrator copied to clipboard

[Bug]: v0.14.2 on Windows: missing Codex/Grok models and Claude Code third-party provider configuration problems

Open JadeCake5 opened this issue 1 month ago • 3 comments

Summary

On Windows, Agent Orchestrator v0.14.2 made model selection and third-party provider usage difficult enough that I rolled back to v0.13.x.

The following are observations from using v0.14.2, not confirmed root causes. I have since recovered the older installation and have not re-upgraded against the recovered data to reproduce them again.

Observed behavior

Integration Problem
Codex I could not select the intended model, gpt-6.1-sol, in AO.
Claude Code AO did not correctly use the configured third-party provider. The provider/endpoint/auth/model configuration needs investigation.
Grok The model picker did not show the requested Grok 4.7 model.

I do not yet have a sanitized configuration and exact request error for the Claude Code case. Availability of Grok 4.7 through the particular provider/account has not been independently verified, so its absence from the picker alone does not establish a discovery bug or upstream availability.

Workflow where the problems occurred

  1. Run AO v0.14.2 on Windows and open the agent/model selection UI.
  2. Select Codex and try to find/select gpt-6.1-sol.
  3. Try to use Claude Code with a third-party provider configuration.
  4. Check the discovered Grok models.

These describe the affected workflows; they are not a fully isolated reproduction.

Expected behavior

  • Model choices should reflect the selected agent, provider, and account. If a model is absent because of stale discovery, an unsupported alias, provider availability, or account access, AO should distinguish those cases and show an actionable explanation.
  • If direct model IDs are supported, expose that option clearly and preserve the requested ID rather than silently substituting another model.
  • Pass the intended third-party provider endpoint, authentication, and model configuration to Claude Code consistently. Distinguish third-party authentication from official account sign-in.
  • Make model-list freshness and discovery failures visible.

Rollback impact — separate from the v0.14.2 observations

After rolling back to v0.13.x / v0.13.0, projects and sessions disappeared from the UI and the older daemon failed with:

sql: Scan error on column "project_id":
converting NULL to string is unsupported

reconcile sessions on boot:
SQL logic error: no such column: request_fingerprint (1)

During recovery, AO_DATA_DIR and AO_RUN_FILE had also been changed to point to a new directory. Data-directory selection and database-version/schema compatibility therefore needed separate investigation.

Recovery retained 8 projects and 202 sessions, with consistency checks passing and the original database preserved. These rollback errors are not evidence that v0.14.2 corrupted the database. Please document supported downgrade procedures, database compatibility boundaries, and a clear error when an older daemon encounters incompatible state.

A separate Windows account-directory permission-check defect identified while recovering v0.13.0 is not presented here as a v0.14.2 root cause.

Environment and investigation limits

  • OS: Windows.
  • Version with the reported model/provider problems: AO v0.14.2.
  • Rollback versions: v0.13.x / v0.13.0.
  • No database, credentials, private project paths, or unsanitized provider configuration are attached.
  • Please advise whether these symptoms are already fixed, which minimal sanitized diagnostics would help, and whether they should be tracked separately.

Related issues

  • #6673: another picker/native-worker model-support mismatch, involving a different model and cloud workflow; the same root cause has not been established.
  • #6095: configuration UI for Anthropic-compatible gateways; relevant to provider-configuration visibility, but not proven to explain this failure.

JadeCake5 avatar Oct 16 '26 14:10 JadeCake5

Thanks for the detailed report! We checked latest main (64930a0d9). Source inspection confirms that New Task disables manual model entry when a model is missing from discovery. Relevant backend tests pass, but we haven't reproduced your specific Codex/Grok picker or Claude provider failures in the desktop app.

To help isolate each symptom, could you share:

  • Codex/Grok: installed CLI versions, a screenshot after refreshing the model picker, and whether the requested model works directly in the corresponding CLI outside AO.
  • Claude Code: CLI version, provider name, where the configuration lives (environment variables or settings file), sanitized endpoint/model settings, and the exact error. Does the same configuration work outside AO?

Please remove credentials and private paths; full logs or a database aren't needed initially. We haven't reproduced the rollback errors and suggest investigating those separately.

nikhilachale avatar Oct 16 '26 18:10 nikhilachale

Retested on Windows with AO v0.14.6. Thanks for specifying the diagnostics to collect.

CLI versions, unchanged during the AO update:

  • Codex CLI: 0.163.0
  • Claude Code: 2.1.289
  • Grok Build: 1.0.70 (f50904eaee6c)

Codex

After refreshing AO's catalog, gpt-6.1-sol is present. I also verified that the New Task dropdown offers GPT-6.1-Sol and that selecting it updates the task draft. The original missing-model symptom is not reproducible in this setup on v0.14.6.

A direct CLI request with --model gpt-6.1-sol produced the requested AO_MODEL_PROBE_OK response and a turn.completed event. It first encountered repeated WebSocket timeouts and fell back to HTTPS. The subprocess harness recorded a timeout during the run/cleanup, so this is evidence that the model returned a response, not a claim of a clean, fast CLI exit.

Claude Code / third-party provider

The configuration comes from the user-level Claude Code settings.json, using its env section. The relevant sanitized settings are:

{
  "model": "fable",
  "env": {
    "ANTHROPIC_BASE_URL": "<private Anthropic-compatible gateway endpoint>",
    "ANTHROPIC_AUTH_TOKEN": "<redacted>",
    "ANTHROPIC_MODEL": "gemini-3.1-pro-preview",
    "ANTHROPIC_DEFAULT_FABLE_MODEL": "gemini-4-argon"
  }
}

On v0.14.6, AO reports source: provider, discovers the gateway's Gemini models, and identifies gemini-3.1-pro-preview as the default. New Task also displays Claude Code → Gemini 3.1 Pro Preview. The readiness diagnostics report provider_accepted with HTTP 200, and the selected credential is ANTHROPIC_AUTH_TOKEN.

For the direct CLI control, a reduced-context non-interactive request returned AO_MODEL_PROBE_OK, exit code 0, and is_error: false. It used --safe-mode, a minimal --system-prompt, no tools/MCP servers, and --no-session-persistence; provider/auth/model settings were retained. The result identifies gemini-3.1-pro-preview. An earlier request hit the test harness's low budget cap and was inconclusive; that was not treated as a provider rejection.

I have not created a new AO worker to make an end-to-end inference request in this retest, so the verified AO behavior here is provider discovery, validation, and model selection, rather than every possible Claude workflow.

Grok

Direct grok models lists:

grok-4.5
my-upstream
grok-4.6 (default)

A direct request for grok-4.7 fails before inference with:

Couldn't set model 'grok-4.7': Invalid params: "unknown model id".
Run 'grok models' to see available models.

AO v0.14.6's refreshed catalog and New Task dropdown show the same three IDs. Thus the missing 4.7 entry is not specific to AO in the current CLI/provider configuration. The default is configured as 4.6 through a custom upstream.

Remaining scope

The generic manual-entry limitation is still present in v0.14.6's New Task code: allowCustom={false} and only configured entries are forwarded. It does not block the Codex retest now that the requested model is discovered. I have not established a new case where a CLI-supported model is absent from discovery.

Local screenshots of the actual Codex dropdown, Claude third-party model selection, and Grok dropdown were captured after catalog refresh. They have not been uploaded because the surrounding window contains private workspace details.

The update used a full independent data/worktree copy. All 8 projects and 216 existing sessions were retained; original history rows and model settings were verified, integrity/foreign-key checks passed, and the old database was unchanged. No downgrade was attempted in this retest. I agree that the earlier rollback errors should be investigated separately.

JadeCake5 avatar Oct 27 '26 10:10 JadeCake5

@JadeCake5 thanks for the careful retest. On v0.14.6 the Codex model shows up and Claude Code finds your gateway's models, so I'm closing this. The Grok model failing in the Grok CLI itself is outside AO. If anything breaks again, please open a new issue.

Rishet11 avatar Oct 31 '26 11:10 Rishet11