shumeiko.it
48bdab8087
fix(server): generate personas through the built-in proxy (UF-045)
...
POST /api/personas/generate posted to /api/anthropic/v1/messages, a route
that does not exist, with no session token and a port built from
address().toString(), so the URL did not even parse. It also pinned
claude-sonnet-4-6, which needs an Anthropic key.
The route now calls the built-in proxy through self-request.ts, reads the
OpenAI-format reply, and picks the model from the user's default with the
same fallback chat uses, so a local Ollama model works too. An end-to-end
test with localhost trust off checks the generated persona comes back.
2026-10-26 01:50:47 +01:00
..
2026-10-24 13:19:06 +02:00
2026-09-02 10:14:22 +02:00
2026-10-24 13:19:06 +02:00
2026-09-02 10:10:29 +02:00
2026-10-24 13:19:06 +02:00
2026-09-02 10:14:22 +02:00
2026-10-24 13:19:06 +02:00
2026-10-24 17:43:27 +02:00
2026-10-24 13:19:06 +02:00
2026-10-24 17:43:27 +02:00
2026-09-02 10:14:22 +02:00
2026-10-24 17:43:11 +02:00
2026-09-02 10:14:22 +02:00
2026-10-24 13:19:06 +02:00
2026-10-24 13:19:06 +02:00
2026-10-20 00:54:58 +02:00
2026-09-02 10:10:29 +02:00
2026-09-02 10:14:22 +02:00
2026-09-02 10:10:29 +02:00
2026-10-24 17:35:36 +02:00
2026-10-25 21:32:38 +01:00
2026-10-24 17:35:36 +02:00
2026-10-24 17:43:11 +02:00
2026-10-24 17:43:11 +02:00
2026-09-02 10:10:29 +02:00
2026-10-24 13:19:06 +02:00
2026-09-02 10:10:29 +02:00
2026-10-24 13:19:06 +02:00
2026-09-02 10:10:29 +02:00
2026-10-24 17:43:11 +02:00
2026-09-02 10:10:29 +02:00
2026-10-24 13:19:06 +02:00
2026-09-02 10:14:22 +02:00
2026-10-25 21:32:38 +01:00
2026-09-02 10:14:22 +02:00
2026-10-24 13:19:06 +02:00
2026-10-23 14:31:28 +02:00
2026-10-24 13:19:06 +02:00
2026-09-02 10:10:29 +02:00
2026-10-24 17:43:11 +02:00
2026-10-24 13:19:06 +02:00
2026-10-15 19:31:50 +02:00
2026-10-24 13:19:06 +02:00
2026-10-24 13:19:06 +02:00
2026-10-23 14:31:28 +02:00
2026-10-25 21:32:38 +01:00
2026-10-25 21:32:38 +01:00
2026-10-24 12:00:00 +02:00
2026-09-02 10:14:22 +02:00
2026-09-02 10:14:22 +02:00
2026-10-15 18:13:34 +02:00
2026-10-24 13:19:06 +02:00
2026-10-24 12:04:18 +02:00
2026-10-24 17:53:16 +02:00
2026-09-02 10:14:22 +02:00
2026-09-02 10:10:29 +02:00
2026-10-24 13:19:06 +02:00
2026-09-02 10:10:29 +02:00
2026-09-02 10:14:22 +02:00
2026-09-02 10:10:29 +02:00
2026-09-02 10:10:29 +02:00
2026-09-02 10:14:22 +02:00
2026-09-02 10:10:29 +02:00
2026-10-25 21:32:38 +01:00
2026-10-24 18:09:43 +02:00
2026-10-24 12:00:00 +02:00
2026-10-24 18:09:43 +02:00
2026-10-20 00:54:58 +02:00
2026-09-02 10:14:22 +02:00
2026-09-02 10:10:29 +02:00
2026-09-02 10:10:29 +02:00
2026-09-02 10:10:29 +02:00
2026-09-02 10:10:29 +02:00
2026-10-24 13:19:06 +02:00
2026-09-02 10:10:29 +02:00
2026-10-24 17:43:11 +02:00
2026-09-02 10:10:29 +02:00
2026-10-26 01:50:47 +01:00
2026-10-20 00:54:58 +02:00
2026-09-02 10:14:22 +02:00
2026-10-24 17:43:11 +02:00
2026-09-02 10:10:29 +02:00
2026-09-02 10:10:29 +02:00
2026-09-02 10:14:22 +02:00
2026-10-24 13:19:06 +02:00
2026-09-02 10:10:29 +02:00
2026-09-02 10:10:29 +02:00
2026-10-24 13:19:06 +02:00
2026-09-02 10:10:29 +02:00
2026-10-26 01:46:29 +01:00
2026-10-24 17:35:36 +02:00
2026-09-02 10:10:29 +02:00
2026-10-24 17:43:11 +02:00
2026-09-02 10:10:29 +02:00
2026-10-24 12:00:00 +02:00
2026-10-24 17:35:48 +02:00
2026-10-26 01:46:29 +01:00
2026-10-24 17:43:11 +02:00
2026-09-02 10:10:29 +02:00
2026-10-24 17:43:27 +02:00
2026-09-02 10:10:29 +02:00
2026-09-02 10:10:29 +02:00
2026-09-02 10:10:29 +02:00
2026-09-02 10:10:29 +02:00
2026-10-24 13:19:06 +02:00
2026-09-02 10:14:22 +02:00
2026-10-24 13:19:06 +02:00