Verdicts first, ranked by results and evidence.
-
Explainer
How do I find which AI prompts bring users to my product?
Ask each new user how they found you and, for an AI assistant, which assistant and prompt they used, then collect the answers in one shared place (checked 2026-11-25). Tally reports doing this; its 43% AI-search share is its own unverified figure. Compare the answers with the utm_source values in analytics.
-
Explainer
vLLM: Enable Llama 3.1 automatic tool calls
As of November 2026, serve Llama 3.1 with automatic tool selection, the llama3_json parser and its matching chat template. Start the server with vllm serve
-
Explainer
vLLM: Constrain sentiment to two labels
As of November 2026, restrict a chat completion to positive or negative with structured_outputs.choice. With a running compatible server, begin by creating the client with OpenAI
-
Explainer
Vercel AI SDK: Apply language model middleware
As of November 2026, wrap a language model with middleware, then pass the returned model to streamText. Begin with wrapLanguageModel
-
Explainer
Vercel AI SDK: Access models through a registry
As of November 2026, register providers centrally and select language models with provider-prefixed string IDs. Start the registry with createProviderRegistry
-
Explainer
uv: Install a locked project in a Docker image
As of November 2026, copy uv into the image, exclude the local environment, and use uv sync --locked to install the project while checking its lockfile. Begin the image definition in Dockerfile
-
Explainer
Pydantic AI: Save and reload message history as JSON
As of November 2026, serialize messages with to_json, reload them with ModelMessagesTypeAdapter.validate_json, and pass the result as message_history on another run. Begin with ModelMessagesTypeAdapter
-
Explainer
Pydantic AI: Keep the five most recent messages
As of November 2026, wrap keep_recent_messages in ProcessHistory to send only the last five messages before each model request. Keep tool calls paired with their results when those exchanges matter. Begin with ProcessHistory
-
Explainer
promptfoo: Shard test cases with --filter-range
As of November 2026, use zero-based, start-inclusive and end-exclusive ranges to run separate slices of test cases. Start with promptfoo eval --filter-range 0:100
-
Explainer
promptfoo: Override the llm-rubric judge
As of November 2026, override an llm-rubric judge through --grader or a provider option at the default, test, or assertion level. Begin by defining llm-rubric
-
Explainer
Playwright: Record a browser test with codegen
As of November 2026, record browser actions and assertions in Playwright Inspector, then copy the generated code into your editor. Start with npx playwright codegen demo.playwright.dev/todomvc
-
Explainer
OpenCode: Add and sign in to a remote MCP server
As of November 2026, add a remote MCP server to the project, list its connection, and use /mcps to sign in when authentication is needed. Begin with opencode mcp add
-
Explainer
OpenAI API: Replay history with store=False
As of November 2026, maintain history yourself, append every response.output item and the next user message, and send the full history with store=False on both calls. Start with from openai import OpenAI
-
Explainer
OpenAI API: Prewarm the prompt cache
As of November 2026, prewarm known context without generating output, wait for completion, then send the real question with the same prefix and prewarm omitted or false. Set prompt_cache_options.prewarm
-
Explainer
OpenAI API: Chain turns with previous_response_id
As of November 2026, create a response, then pass its id as previous_response_id on the next request to retain earlier context. The follow-up can explain the first answer. Start with from openai import OpenAI
-
Explainer
OpenAI Agents SDK: Separate model and tracing keys
As of November 2026, install a custom model client with use_for_tracing=False, then configure the OpenAI tracing export key separately. Begin with set_default_openai_client
-
Explainer
OpenAI Agents SDK: Connect a hosted MCP tool
As of November 2026, add HostedMCPTool to an agent tools list so the Responses API can list and call a publicly reachable MCP server. Begin with HostedMCPTool
-
Explainer
Open WebUI: Require confirmation before web search
As of November 2026, enable confirmation in the admin Web Search settings and optionally customize the dialog text. Start in Settings → Web Search
-
Explainer
Open WebUI: Connect a remote Playwright loader
As of November 2026, select playwright as the loader and enter the remote Chromium WebSocket address, matching server and client versions. Start with Web Loader Engine
-
Explainer
Ollama: Return a temperature tool result
As of November 2026, pass get_temperature to chat, execute the returned call, append its result, and ask for the final reply. Install the SDK with pip install ollama -U
-
Explainer
Ollama: Disable cloud features in server.json
As of November 2026, set disable_ollama_cloud to true, restart Ollama, and look for the cloud-disabled log message. Edit ~/.ollama/server.json
-
Explainer
mlx-lm: Cache a prompt for follow-up queries
As of November 2026, save a long context once and load it as a prefix for a new query. The cache also supplies the model selection; begin with mlx_lm.cache_prompt
-
Explainer
LM Studio: Install and start headless llmster
As of November 2026, install llmster on Linux or Mac and start its daemon for GUI-free LM Studio operation. Begin with curl -fsSL https://lmstudio.ai/install.sh | bash
-
Explainer
LlamaIndex: Trace a pipeline with OpenTelemetry
As of November 2026, install the OpenTelemetry integration, create LlamaIndexOpenTelemetry and start registering before pipeline operations. Begin with pip install llama-index-observability-otel
Missing something? Request a thread. Requests with the most votes become the next ones.