Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1import { http, delay, HttpResponse } from "msw";2export const handlers = [3 // Basic user endpoint4 http.get("https://api.example.com/users/:id", async ({ params }) => {5 await delay(50);6 return HttpResponse.json({7 id: Number(params.id),8 name: `User ${params.id}`,9 email: `user${params.id}@example.com`,10 });11 }),12 // Search endpoint with query params13 http.get("https://api.example.com/search", ({ request }) => {14 const url = new URL(request.url);15 const query = url.searchParams.get("q");16 const page = Number(url.searchParams.get("page")) || 1;17 return HttpResponse.json({18 results: [19 { id: page * 1, title: `Result 1 for ${query}` },20 { id: page * 2, title: `Result 2 for ${query}` },21 ],22 page,23 total: 10,24 });25 }),26 // Endpoint that can fail27 http.get("https://api.example.com/error-prone", () => {28 return new HttpResponse(null, { status: 500 });29 }),30];31 