Skip to content

[BUG] Invalid model specification shows auth error instead of model error #1297

@eureka0928

Description

@eureka0928

Project

cortex

Description

Using --model invalid/model shows auth error before validating model format.

Error Message

Error: Authentication failed...

Debug Logs

System Information

Windows 10/11
Version Tested: v0.1.1

Screenshots

No response

Steps to Reproduce

  1. Run cortex run --model invalid/model "test"

Expected Behavior

Error: Invalid model format or unknown provider: invalid/model

Actual Behavior

Error: Authentication failed...

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    validValid issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions