mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-23 04:09:49 +00:00
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:
@@ -2,6 +2,14 @@
|
||||
export { cn } from "./cn";
|
||||
export * as api from "./api";
|
||||
|
||||
import { v4 as uuidv4 } from "uuid";
|
||||
|
||||
/**
|
||||
* Generate unique ID (UUID v4)
|
||||
* @returns {string} UUID v4 string
|
||||
*/
|
||||
export const generateId = uuidv4;
|
||||
|
||||
/**
|
||||
* Extract error code from error message (401, 429, 503...)
|
||||
* @param {string} lastError - Error message
|
||||
|
||||
Reference in New Issue
Block a user