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

21 lines
1.2 KiB
TOML

name = "Merge Gateway"
env = ["MERGE_GATEWAY_API_KEY"]
npm = "merge-gateway-ai-sdk-provider"
# Reasoning request surfaces (sources accessed 2026-06-25):
# - OpenAI compatibility: POST /v1/openai/chat/completions uses the native
# top-level `reasoning_effort`; the documented base accepts OpenAI SDK calls.
# - Anthropic compatibility: POST /v1/anthropic/v1/messages uses native
# `thinking = { type = "enabled"|"disabled", budget_tokens = N }` and
# `output_config.effort`.
# https://docs.merge.dev/merge-gateway/get-started
# https://docs.anthropic.com/en/api/messages
# - This npm package calls POST /v1/ai-sdk/chat/completions and maps
# `providerOptions.mergeGateway.thinking` to
# `thinking = { type = "enabled"|"disabled", budget_tokens = N }`.
# https://github.com/merge-api/merge-gateway-ai-sdk-provider/blob/main/src/chat/index.ts
# - Native POST /v1/responses has no reasoning field in its strict request
# schema. Other normalized or dynamically routed routes do not document
# transparent native-field passthrough; do not infer support from them.
# https://docs.merge.dev/merge-gateway/api-overview/responses/create
doc = "https://docs.merge.dev/merge-gateway"