Files
gns3-server/gns3server
tikD1337andClaude Opus 5.5 09b8420354 fix(api): keep the LLM stub from shadowing /access routes without AI extras
Without the AI dependencies the LLM model configuration router is replaced
by a stub that answers 501. It was a catch-all ("/{path:path}") included
under the /access prefix, so it also answered every /access route included
after it: creating an API key (POST /v3/access/api-keys) failed with "AI
Copilot is not available", which left API keys unusable on servers without
the AI extras.

The LLM stub now covers only the LLM model configuration paths, under
/access/users/{user_id}/ and /access/groups/{group_id}/. The stub routers
are built by build_ai_stub_routers() so tests can check them with or
without the extras, and add_stub_routes() takes the paths to stub.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 10:35:12 +01:00
..
2026-10-20 18:53:07 +07:00
2026-08-18 18:02:53 +02:00
2026-10-19 23:28:49 +07:00
2026-10-17 11:43:36 +03:00
2026-10-21 15:24:00 +07:00
2024-04-22 18:51:29 +07:00
2026-10-21 15:47:16 +07:00
2026-10-03 19:43:58 +03:00
2026-10-21 16:04:23 +07:00