内容标签

本地模型

返回全部文章
AI Playground
Codex 接入本地 llama.cpp
记录 Codex CLI 通过自定义 model provider 和独立 profile 连接本地 llama-server 的配置与验证,覆盖 Responses API、环境变量认证、沙箱和审批策略,并保留模型目录错误及 namespace、web_search 工具警告的实际排查过程。
AI Playground
Claude Code 接入本地 llama.cpp
记录 Claude Code 通过 Anthropic 兼容接口连接本地 llama-server 的配置,包括模型别名、认证变量、超时、状态栏和自动压缩窗口。文章用普通回复与 Bash 工具调用分别验证模型生成和 Agent 执行能力,并说明客户端窗口与服务端上下文长度的差异。