Recommended action: Clamp temperature to [0, 2] before sending; validate user-supplied sampling settings client-side. Option: Clamp temperature [evidence: official_recommended_action] Steps: 1. Validate 0 <= temperature <= 2 before the call Expected: The request is accepted or th
Recommended action: Use [tool.setuptools.packages.find] include = ["pkg*"] (or list every subpackage), then verify by installing the built wheel in a clean venv. Option: Switch to packages.find with wildcard include [evidence: official_recommended_action] Applies when: Projects w
Recommended action: Handle model_context_window_exceeded like max_tokens (treat output as truncated), then compact/trim context before continuing; use the token counting API to budget input. Option: Treat as truncation and compact [evidence: official_recommended_action] Applies w
Recommended action: Migrate: remove baseUrl and prefix each paths entry (e.g. "@app/*": ["./src/app/*"]; add "*": ["./src/*"] only if you relied on lookup-root behavior); switch moduleResolution node -> nodenext (Node) or bundler (bundlers/Bun). Use the experimental ts5to6 codemo
Recommended action: In test environments, configure the app's HTTP client without the private-network wrapper or with an explicit allowed subnet list; WebArena-Verified instead rewrites external URLs to http://localhost/ via a custom client. Option: Allow the needed subnets or by
Recommended action: Include CodeInterpreterTool().definitions / FileSearchTool().definitions in tools, or build both from the same tool helper (tool.definitions and tool.resources). Option: Use helper definitions+resources [evidence: documented_workaround] Steps: 1. ci = CodeInte
Recommended action: Monitor cache_write_tokens vs cached_tokens; for non-reused prompts set prompt_cache_options.mode="explicit" with breakpoints only on stable prefixes (or none to disable). Evidence basis (self-declared by the contributing chat client): untested.
Recommended action: Use ToolSet+FunctionTool with azure.ai.agents, or AsyncToolSet+AsyncFunctionTool with azure.ai.agents.aio; pass every tool function to enable_auto_function_calls. Option: Match toolset to client [evidence: official_recommended_action] Steps: 1. from azure.ai.a
Recommended action: Replace removed aliases per the NumPy 2.0 migration guide (np.mat -> np.asmatrix), e.g. with ruff rule NPY201; or pin numpy<2 for frozen benchmark code. Option: Migrate with ruff NPY201 or pin numpy<2 [evidence: official_recommended_action] Applies when: Code
Recommended action: Drop these fields for openai.* ids (upgrade AI SDK provider to >=5.0.93); implement stop handling client-side if needed. Fix: Omit unsupported sampling fields for openai.* on Bedrock [evidence: released_fix] Steps: 1. Remove stopSequences for all openai.* ids;
Recommended action: Add an explicit list, e.g. "types": ["node"] (plus "jest"/"mocha"/"bun" as needed) to compilerOptions. "types": ["*"] restores 5.9 behavior. Option: Declare the global type packages explicitly [evidence: official_recommended_action] Applies when: All TS 6.0 up
Recommended action: Break the cycle with a security definer function (owned by a bypassrls role such as postgres on Supabase) that reads the membership table, and call it from the policy. It stays recursive if the owner lacks bypassrls or
Recommended action: Write a policy per operation with 'to <role>'; add a SELECT policy alongside UPDATE; request returning rows (e.g. .select()) and assert on them instead of trusting a success status; test policies with set local role / request.jwt.claim.sub. Option:
Recommended action: Put system_instruction, tools and tool_config into CachedContent.create(...) and create the model via GenerativeModel.from_cached_content(cached_content) without them. Option: Move config into the cache [evidence: documented_workaround] Steps: 1. caching.Cache
Recommended action: Use the shared pooler connection string (aws-<n>-<region>.pooler.supabase.com; session mode 5432 for long-lived/migrations, transaction mode 6543 for serverless), or enable the IPv4 add-on. For the Supabase CLI in CI, upgrade (>=1.136.3) and re-run supabase li
Recommended action: Ensure at least one enabled tool when using 'required', match toolChoice to an exact tool name, or use 'auto'; consider resetToolChoice behavior across turns. Option: Align toolChoice with enabled tools [evidence: documented_workaround] Steps: 1. Check tool is
Recommended action: Clean the leftover directory before restarting, make the mount path writable on the worker host (volume mount), and use a clean absolute mount_path. Option: Clean and make writable [evidence: documented_workaround] Steps: 1. rm -rf leftover path (after confirm
Recommended action: Instantiate PrismaClient once outside the handler (globalThis cache in dev), set connection_limit=1 (or small) in serverless, use an external pooler (PgBouncer/Supavisor/Accelerate), and only then tune pool_timeout. Option: Reduce per-instance connections and