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

17 lines
978 B
TOML

name = "Umans AI Coding Plan"
env = ["UMANS_AI_CODING_PLAN_API_KEY"]
npm = "@ai-sdk/openai-compatible"
# Reasoning HTTP format (accessed 2026-06-25):
# POST /v1/chat/completions accepts top-level `reasoning_effort`; POST
# /v1/messages accepts `thinking.type` and `thinking.budget_tokens`. Either
# control is accepted on either endpoint; if both are sent, `thinking` wins.
# `thinking.type` is enabled/disabled; effort maps none/low/medium/high, with
# other values such as minimal mapped to the nearest level. A budget must be
# below max output; it is reduced to fit, and too little room disables thinking.
# No fixed numeric budget bounds are published. Chat returns
# `reasoning_content`; Messages returns thinking blocks/thinking_delta events.
# Live model metadata: GET https://api.code.umans.ai/v1/models/info
# Source: https://app.umans.ai/offers/code/docs#reasoning--extended-thinking
doc = "https://app.umans.ai/offers/code/docs"
api = "https://api.code.umans.ai/v1"