feat(cli-tools): update CLI tools and add new models

- Add Droid and OpenClaw tool cards to CLI tools
- Enhance ClaudeToolCard and CodexToolCard to display current base URLs
This commit is contained in:
decolua 2026-02-06 20:53:20 +07:00
parent f68ef4c933
commit a2122e3e48
41 changed files with 1123 additions and 9 deletions

View file

@ -155,9 +155,11 @@ export async function POST(request) {
parsed._root.model_provider = "9router";
// Update or create 9router provider section (no api_key - Codex reads from auth.json)
// Ensure /v1 suffix is added only once
const normalizedBaseUrl = baseUrl.endsWith("/v1") ? baseUrl : `${baseUrl}/v1`;
parsed._sections["model_providers.9router"] = {
name: "9Router",
base_url: `${baseUrl}/v1`,
base_url: normalizedBaseUrl,
wire_api: "responses",
};