Skip to content

[Bug]: ocx logs --model does not match the provider-qualified model id that ocx logs prints #6945

Closed

Description

@lidge-jun

Client or integration

Other

Area

CLI

Summary

ocx logs prints the model as anthropic/claude-haiku-5-5. Passing that same value to --model prints nothing, with no "no matching entries" line, so it looks like there were no requests. --model claude-haiku-5-5 matches. The JSON entries store "model": "claude-haiku-5-5".

Reproduction

  1. Send any request for anthropic/claude-haiku-5-5 through the proxy.
  2. ocx logs --limit 12 shows … 200 anthropic/claude-haiku-5-5 953ms ….
  3. ocx logs --model anthropic/claude-haiku-5-5 --limit 3 → empty output.
  4. ocx logs --model claude-haiku-5-5 --limit 3 → the expected rows.

Expected: --model accepts the form ocx logs prints (and the bare id), and an empty result says that no entry matched the filter.

Version

CLI 2.83.0 against a 2.81.0 proxy

Operating system

macOS 27 arm64

Provider and model

anthropic / claude-haiku-5-5

Logs or error output

$ ocx logs --model anthropic/claude-haiku-5-5 --limit 3
opencodex: using PATH Bun 1.4.0.
$ ocx logs --model claude-haiku-5-5 --limit 3
1791724830852  200  anthropic/claude-haiku-5-5  953ms  id=ocx-…

Screenshots and supporting files

No response

Redacted configuration

No response

Checks

  • I searched existing issues and documentation.
  • I removed secrets, tokens, account details, request credentials, and personal data.

Activity

  1. added
    bug
    on Oct 11, 2026
  2. added
    cli
    on Oct 11, 2026
  3. lidge-jun commented on Oct 11, 2026

    @lidge-jun
    OwnerAuthor

    Fixed on dev by #6954 (squash 862b8f1). Exact-head CI on 55f665e was green (PR CI and Cross-platform CI lane=all 38147206772); an independent review passed on that head.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcli

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions