llmuxv0.1.0

← All examples

Secret in the prompt → local only

The prompt matches a block_cloud_patterns entry. The task becomes private_sensitive and only providers marked local: true stay eligible.

Secret in the prompt → local only

examples/private-key.json
POST /v1/chat/completions
content-type: application/json

{
  "model": "gpt-4o",
  "messages": [
    { "role": "user", "content": "Does this look valid? -----BEGIN RSA PRIVATE KEY----- MIIEow..." }
  ]
}
HTTP/1.1 200 OK
x-llmux-echo: 1

{
  "choices": [
    {
      "finish_reason": "stop",
      "index": 0,
      "message": {
        "content": "llmux demo · echo provider.\nRouted to echo/echo-nano (tier 1, task: private_sensitive). No external call was made — this is a synthetic response so you can see routing and the dashboard end-to-end.\n\nYour message: \"Does this look valid? -----BEGIN RSA PRIVATE KEY----- MIIEow...\"",
        "role": "assistant"
      }
    }
  ],
  "id": "chatcmpl-echo",
  "model": "echo-nano",
  "object": "chat.completion",
  "usage": {
    "completion_tokens": 71,
    "prompt_tokens": 16,
    "total_tokens": 87
  }
}
  • privacy
  • private_sensitive
  • local_only