Files
CatoandClaude Fable 5.2 deb825bd99 feat(orangecat): a key saved in Loki can answer the person's OrangeCat bots (#1703)
* feat(orangecat): a key saved in Loki can answer the person's OrangeCat bots

A person who gave Loki their model key was asked for it again on OrangeCat.
The key now stays in one place: OrangeCat asks Loki, over the signed rail and
as the linked account, to make the chat completion.

- user_model_keys.for_orangecat: per key, off by default
- POST /api/orangecat/model: keys, share, models, complete
- never the person's own endpoint; chat fields only; 240 calls an hour per
  account; the key is never returned or logged
- Settings → Your model: 'Also for your OrangeCat bots'

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmt4p1jMfJnbJtpeNhi

* feat(orangecat): the model door carries native tool calls

A bot offered its tools as prose guesses at them; every model was trained on
its vendor's own function format. The door now passes function definitions
and tool turns through and returns the calls the model asked for. OrangeCat
runs them as the person; Loki runs none.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmt4p1jMfJnbJtpeNhi

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-13 09:52:47 +01:00
..