Spaces:
Paused
Paused
Download src/shared/constants/modelCompat.ts from igorkurgin/omniroute: direct link, hf CLI and curl.
- Browser
- Download file 445 Bytes
-
https://huggingface.co/spaces/igorkurgin/omniroute/resolve/main/src/shared/constants/modelCompat.ts
- Command line
-
hf download hf://spaces/igorkurgin/omniroute/src/shared/constants/modelCompat.ts
-
curl -L -o modelCompat.ts https://huggingface.co/spaces/igorkurgin/omniroute/resolve/main/src/shared/constants/modelCompat.ts
445 Bytes
| /** | |
| * Model compatibility protocol keys — shared between client UI and server. | |
| * Must not import Node or DB code so client components can import safely. | |
| */ | |
| /** Client request shapes from detectFormat — compat options apply when the client uses this protocol */ | |
| export const MODEL_COMPAT_PROTOCOL_KEYS = ["openai", "openai-responses", "claude"] as const; | |
| export type ModelCompatProtocolKey = (typeof MODEL_COMPAT_PROTOCOL_KEYS)[number]; | |