jan icon indicating copy to clipboard operation
jan copied to clipboard

feat: identidy jan for openrouter

Open STRRL opened this issue 5 months ago • 7 comments

Describe Your Changes

  • update header template for openrouter, add HTTP-Referer: https://jan.ai, X-Title: Jan

reference: https://openrouter.ai/docs/api-reference/overview#headers

Fixes Issues

  • Closes #5388

Self Checklist

  • [x] Added relevant comments, esp in complex areas
  • [ ] Updated docs (for bug fixes / features)
  • [ ] Created issues for follow-up changes or refactoring needed

[!IMPORTANT] Update header_template in openrouter.json to include HTTP-Referer and X-Title headers for OpenRouter API requests.

  • Behavior:
    • Update header_template in openrouter.json to include HTTP-Referer: https://jan.ai and X-Title: Jan for OpenRouter API requests.
  • References:
    • Closes issue #5388.
    • Based on OpenRouter API documentation.

This description was created by Ellipsis for 7a8a38ac6f1ef0f98b491f5b4c7443dfe76d6656. You can customize this summary. It will automatically update as commits are pushed.

STRRL avatar Jun 20 '25 06:06 STRRL