22 lines
1.2 KiB
TOML
22 lines
1.2 KiB
TOML
name = "Jiekou.AI"
|
|
env = ["JIEKOU_API_KEY"]
|
|
npm = "@ai-sdk/openai-compatible"
|
|
# Reasoning HTTP formats (accessed 2026-06-25; docs use api.highwayapi.ai):
|
|
# OpenAI: POST /openai/chat/completions uses top-level `reasoning_effort`.
|
|
# For Gemini it maps disable|none -> budget 0, low -> 1024, medium -> 2048,
|
|
# high -> 4096; Gemini 2.5 Pro maps none to its minimum 128 instead of off.
|
|
# Gemini: POST /gemini/v1/models/{model}:generateContent uses
|
|
# `generationConfig.thinkingConfig.thinkingBudget`; stream uses
|
|
# `{model}:streamGenerateContent`. Native sentinels are 0 = off and -1 = dynamic;
|
|
# 2.5 Pro is 128..32768, Flash is 0..24576, and Flash-Lite is 512..24576 plus 0.
|
|
# Anthropic: POST /anthropic/v1/messages uses `thinking.type = "enabled"` and
|
|
# integer `thinking.budget_tokens`; Jiekou documents control only on this native
|
|
# route. The native minimum is 1024 and manual budgets must be below `max_tokens`.
|
|
# Sources:
|
|
# https://docs.jiekou.ai/docs/providers/gemini
|
|
# https://docs.jiekou.ai/docs/providers/anthropic
|
|
# https://ai.google.dev/gemini-api/docs/thinking
|
|
# https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking
|
|
api = "https://api.jiekou.ai/openai"
|
|
doc = "https://docs.jiekou.ai/docs/support/quickstart?utm_source=github_models.dev"
|