tabbit2api/examples at main · hajimi-kun/tabbit2api · GitHub
Skip to content

Latest commit

 

History

History
 
 

examples

Folders and files

README.md

Tabbit2API 示例配置

这些示例默认你已经在本机启动了 Tabbit2API 网关。

可以使用下面任一方式启动:

tabbit2api

或者:

tabbit2api start

默认本地参数:

OpenAI Responses 基础地址: http://127.0.0.1:50124/v1
Anthropic Messages 基础地址: http://127.0.0.1:50124
API 密钥: sk-tabbit-local
模型名: tabbit/priority

基础地址如何选择

  • Codex 和 Hermes Agent:使用 http://127.0.0.1:50124/v1
  • Claude Code 和 OpenClaw:使用 http://127.0.0.1:50124

客户端

  • codex/config.toml.example
    • Codex Desktop / Codex CLI 提供方配置片段
    • 使用 http://127.0.0.1:50124/v1 上的 OpenAI Responses 兼容接口
  • claude-code/env.powershell.example
    • Claude Code 的 Windows PowerShell 环境变量示例
  • claude-code/env.sh.example
    • Claude Code 的 POSIX shell 环境变量示例