Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

tisoz/opencode-fix-cache

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9,131 Commits
9,131 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

说明

此项目用于启用第三方CC的aws缓存渠道

  • 启用方式 opencode.json 生效参数enableMeta:true
      {
  "anthropic": {
    "name": "fox.anthropic.claude",
    "npm": "@ai-sdk/anthropic",
    "options": {
      "baseURL": "https://code.newcli.com/claude/aws/v1",
      "apiKey": "sk-ant-oat01-x-x-x",
      "setCacheKey": true,
      "enableMeta": true
    },
    "models": {
      "claude-sonnet-4-5": {
        "id": "claude-sonnet-4-5",
        "name": "Claude Sonnet 4.5 (Antigravity)",
        "limit": {
          "context": 200000,
          "output": 64000
        },
        "modalities": {
          "input": [
            "text",
            "image",
            "pdf"
          ],
          "output": [
            "text"
          ]
        }
      },
      "claude-sonnet-4-5-thinking": {
        "name": "Claude Sonnet 4.5 Thinking (Antigravity)",
        "limit": {
          "context": 200000,
          "output": 64000
        },
        "modalities": {
          "input": [
            "text",
            "image",
            "pdf"
          ],
          "output": [
            "text"
          ]
        },
        "variants": {
          "low": {
            "thinkingConfig": {
              "thinkingBudget": 8192
            }
          },
          "max": {
            "thinkingConfig": {
              "thinkingBudget": 32768
            }
          }
        }
      },
      "claude-opus-4-5": {
        "name": "Claude Opus 4.5 (Antigravity)",
        "limit": {
          "context": 200000,
          "output": 64000
        },
        "modalities": {
          "input": [
            "text",
            "image",
            "pdf"
          ],
          "output": [
            "text"
          ]
        },
        "variants": {
          "low": {
            "thinkingConfig": {
              "thinkingBudget": 8192
            }
          },
          "max": {
            "thinkingConfig": {
              "thinkingBudget": 32768
            }
          }
        }
      },
      "claude-opus-4-6": {
        "id": "claude-opus-4-6",
        "name": "Claude Opus 4.6 (Antigravity)",
        "limit": {
          "context": 200000,
          "output": 128000
        },
        "modalities": {
          "input": [
            "text",
            "image",
            "pdf"
          ],
          "output": [
            "text"
          ]
        }
      },
      "claude-opus-4-5-thinking": {
        "name": "Claude Opus 4.5 Thinking (Antigravity)",
        "limit": {
          "context": 200000,
          "output": 64000
        },
        "modalities": {
          "input": [
            "text",
            "image",
            "pdf"
          ],
          "output": [
            "text"
          ]
        },
        "variants": {
          "low": {
            "thinkingConfig": {
              "thinkingBudget": 8192
            }
          },
          "max": {
            "thinkingConfig": {
              "thinkingBudget": 32768
            }
          }
        }
      }
    }
  }
}

About

The opencode fix the cache features

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 721

Morty Proxy This is a proxified and sanitized view of the page, visit original site.