본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)84k · #1422

omni-cache

하는 일

이 스킬은 OmniRoute의 응답 캐시를 보고 제어하는 방법을 보여 줍니다. 이전 모델 답변을 재사용하거나 오래된 답변을 지우려는 관리자를 위한 기능입니다.

사용하는 경우

  • ✓응답 캐시가 얼마나 잘 작동하는지 보고 싶을 때.
  • ✓캐시된 응답을 지우고 싶을 때.
  • ✓캐시된 답변이 얼마나 오래 유지될지, 질문이 얼마나 비슷해야 재사용할지 정하려는 경우.

스킬 링크

https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/omni-cache/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/omni-cache/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“응답 캐시가 얼마나 잘 작동하나요? 오래된 항목을 지울 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 캐시 통계를 읽고, 항목이나 통계를 지우고, 캐시 항목을 보는 호출을 나열합니다. 수명(TTL) 정책과 의미 유사도 설정도 다룹니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

Overview

Manage the LLM response cache. View cache statistics, clear entries, configure TTL policies, and control semantic-similarity caching thresholds.

Authentication

All requests require a valid Bearer token or session cookie. Obtain a token via POST /api/auth/login or configure REQUIRE_API_KEY=false for local development.

Endpoints

GET /api/cache

Get cache statistics

curl http://localhost:20128/api/cache \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

DELETE /api/cache

Clear all caches

curl -X DELETE http://localhost:20128/api/cache \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/cache/stats

Get detailed cache statistics

Returns detailed statistics for all cache layers.

curl http://localhost:20128/api/cache/stats \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

DELETE /api/cache/stats

Clear cache statistics

curl -X DELETE http://localhost:20128/api/cache/stats \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/cache/entries

GET cache › entries

curl http://localhost:20128/api/cache/entries \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

DELETE /api/cache/entries

DELETE cache › entries

curl -X DELETE http://localhost:20128/api/cache/entries \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/cache/reasoning

GET cache › reasoning

curl http://localhost:20128/api/cache/reasoning \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

DELETE /api/cache/reasoning

DELETE cache › reasoning

curl -X DELETE http://localhost:20128/api/cache/reasoning \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

Payloads

See the full OpenAPI specification at GET /api/openapi/spec or docs/openapi.yaml for detailed request/response schemas.

자주 묻는 질문

캐시를 지우면 무엇이 일어나나요?

저장된 항목이 사라지므로, 새 요청은 다시 모델로 보내집니다.

의미 캐싱이란 무엇인가요?

스킬은 비슷한 질문을 맞춰 주는 캐싱이라고 설명하며, 유사도 기준값으로 조절합니다.

자세한 통계를 볼 수 있나요?

네. 자세한 통계 호출은 모든 캐시 계층의 수치를 돌려줍니다.

상세 정보

작성자의 원본 설명

Manage the LLM response cache. View cache statistics, clear entries, configure TTL policies, and control semantic-similarity caching thresholds.

repo: cheaper-inference/OmniRoute

인기도

GitHub 스타
84k
순위
#1422
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬