Files
2026-07-13 12:28:55 +08:00

16 lines
715 B
TOML

name = "Neon"
npm = "@ai-sdk/openai-compatible"
# Unified Chat is POST `/v1/chat/completions`. Native routes are POST
# `/ai-gateway/anthropic/v1/messages` (`thinking.type`,
# `thinking.budget_tokens`), POST `/openai/v1/responses`
# (`reasoning.effort`), and POST
# `/ai-gateway/gemini/v1beta/models/{model}:generateContent`
# (`generationConfig.thinkingConfig`).
# https://neon.com/docs/ai-gateway/chat-completions
# https://neon.com/docs/ai-gateway/anthropic-messages
# https://neon.com/docs/ai-gateway/openai-responses
# https://neon.com/docs/ai-gateway/gemini (accessed 2026-06-25)
api = "${NEON_AI_GATEWAY_BASE_URL}/v1"
env = ["NEON_AI_GATEWAY_BASE_URL", "NEON_AI_GATEWAY_TOKEN"]
doc = "https://neon.com/docs"