14 lines
667 B
TOML
14 lines
667 B
TOML
name = "Tencent TokenHub"
|
|
env = ["TENCENT_TOKENHUB_API_KEY"]
|
|
npm = "@ai-sdk/openai-compatible"
|
|
# Reasoning HTTP format (accessed 2026-06-25):
|
|
# POST /v1/chat/completions uses top-level `thinking.type`: enabled or disabled,
|
|
# and top-level `reasoning_effort`: low, medium, or high. Reasoning is returned
|
|
# at `choices[].message.reasoning_content` or streamed at
|
|
# `choices[].delta.reasoning_content`. Model defaults and support differ.
|
|
# Sources:
|
|
# https://cloud.tencent.com/document/product/1823/130079
|
|
# https://cloud.tencent.com/document/product/1823/131208
|
|
doc = "https://cloud.tencent.com/document/product/1823/130050"
|
|
api = "https://tokenhub.tencentmaas.com/v1"
|