跳到正文
FunCoding

llm-interface

Consider changes to the llm standardization/interface

Star
8,225
许可证
Apache-2.0
最近提交
2026年12月1日

.claude/skills/llm-interface/SKILL.md

在 GitHub 上查看

LLM Interface

Start by reviewing the latest changes here:

What to standardize

The feature set for voice AI definitely needs to be standardized.

  • Text input into streaming response
  • Usage / cost tracking
  • Cache control
  • Conversation persistence (use store:true or similar systems when available)
  • Tool calling

This requires text response creation to be standardized

But in general it's good to standardize more. This makes it easier to switch between models

What not to standardize

  • Reasoning levels are different per model. They also don't map cleanly to each other. So lets just keep track for each LLM what's valid

Cache Standards

Guidelines

You can find the llm.go LLM interface We mostly want to follow OpenAI's naming conventions where possible since they are the biggest in non-coding AI usage.

For openAI (but probably not for others) there are performance benefits to the websocket mode https://developers.openai.com/api/docs/guides/websocket-mode

History

Cache control

CachePolicy:

  • TTL (0 for no caching)

Breakpoints:

  • For models that support this we should automatically handle the setting of a break point after the instructions
  • With a shared per agent config cache (so instructions are reused)
  • While having it set to implicit mode so the customer conversation grows

相似的 Skill

ask-matt

MAmattpocock/skills336k近 7 天新增 5,004 个 star

chief-of-staff

MAmattpocock/skills336k近 7 天新增 5,004 个 star

setup-matt-pocock-skills

MAmattpocock/skills336k近 7 天新增 5,004 个 star

subagent-driven-development

OBobra/superpowers331k近 7 天新增 5,757 个 star

autonomous-loops

AFaffaan-m/ECC314k近 7 天新增 4,125 个 star

agent-eval

AFaffaan-m/ECC314k近 7 天新增 4,125 个 star