Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

bug: Isolate stdout from the API server and CLI - I sent an API request, but it output an error message to an inactive shell session. #1476

@louis-jan

Description

@louis-jan

Cortex version

v1.0.0-168

Describe the Bug

I have finished the shell session of models list, but somehow, when I send API requests, it keeps stdout from an inactive shell session. See attached screenshot, weird.

Steps to Reproduce

  1. Start API Server
  2. Run any command such as models list
  3. Send API request
  4. See the shell output

Screenshots / Logs

Screenshot 2024-10-15 at 12 12 48

What is your OS?

  • MacOS
  • Windows
  • Linux

What engine are you running?

  • cortex.llamacpp (default)
  • cortex.tensorrt-llm (Nvidia GPUs)
  • cortex.onnx (NPUs, DirectML)

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions