Download tools/ui/src/lib/services/router.service.ts from Brunobkr/llama.cpp_AlgMor24_github: direct link, hf CLI and curl.
- Browser
- Download file 241 Bytes
-
https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/main/tools/ui/src/lib/services/router.service.ts
- Command line
-
hf download hf://datasets/Brunobkr/llama.cpp_AlgMor24_github/tools/ui/src/lib/services/router.service.ts
-
curl -L -o router.service.ts https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/main/tools/ui/src/lib/services/router.service.ts
241 Bytes
| import { ROUTES } from '$lib/constants/routes'; | |
| export class RouterService { | |
| static chat(id: string): string { | |
| return `${ROUTES.CHAT}/${id}`; | |
| } | |
| static settings(section: string): string { | |
| return `${ROUTES.SETTINGS}/${section}`; | |
| } | |
| } | |