Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix(friendli): emit explicit False for removed reasoning-effort flags

siyoon471440eb79ba
diff --git a/.github/scripts/auto_update_price_and_context_window_file.py b/.github/scripts/auto_update_price_and_context_window_file.py
index 6d197aadb78..523ec148fc6 100644
--- a/.github/scripts/auto_update_price_and_context_window_file.py
+++ b/.github/scripts/auto_update_price_and_context_window_file.py
@@ -73,7 +73,7 @@ def _find_base_model_entry(base_model: str, local_data: dict) -> Optional[str]:
def _effort_flags(reasoning_options: list) -> dict:
- flags: dict[str, bool] = {}
+ flags: dict[str, bool] = {flag: False for flag in EFFORT_FLAG_MAP.values()}
for opt in reasoning_options or []:
if opt.get("type") == "effort":
for val in opt.get("values", []):