Skip to content

[Bug] [0.0.4-alpha] User-Agent Version Mismatch in HTTP Requests #2964

Description

@rockmania99

Project

cortex-cli

Description

HTTP requests made by the CLI use a user-agent string with version "0.1.0" instead of the actual CLI version "0.0.4-alpha", making it difficult to track which version is making requests.

Error Message

$ cortex run --verbose "test"
# In logs:
user_agent=cortex-cli/0.1.0

System Information

Cortex Version: 0.0.4-alpha
OS: Windows 11

Steps to Reproduce

  1. Run cortex run --verbose "test"
  2. Observe user_agent in logs
  3. Compare with cortex --version

Expected Behavior

  1. User-agent should match CLI version
  2. cortex-cli/0.0.4-alpha
  3. Consistent versioning

Actual Behavior

  1. User-agent shows 0.1.0
  2. CLI version is 0.0.4-alpha
  3. Version mismatch

Additional Context

Likely hardcoded version string that needs updating.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cortexIssues related to CortexLM/cortex repositoryvalidValid issue

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions