DevOps Cloud
-
Prevent Stale Agent Instructions After a Stack Update
DeployHQ's guide emphasizes that incorrect context is worse than no context: always update your AI configuration files immediately when changing your tech stack or build tooling. …
-
Copilot Instructions Scoped to Terraform Files
Scope Terraform and cloud security rules strictly to infrastructure directories via YAML frontmatter. File: .github/instructions/terraform.instructions.md …
-
Mistral Nemo and Ministral 3B for Bulk Operations
Mistral's model selection guide notes that simple bulk operations (classification, customer support triage, routine text generation) are cost-effectively powered by Mistral Nemo or Ministral 3B ($0.10/1M tokens). …
-
Llama 4: No Text and Tool Call in the Same Turn
Per Meta's Llama 4 tool-calling guidelines, the model must be explicitly instructed in the system message never to combine prose text and tool calls in a single turn. …
-
Gemini: Turn Architecture Diagrams Into Terraform
Reference both visual topology diagrams and text policy rules as equal-class inputs in Gemini 3. …
-
Pin OpenAI Model Snapshots to Prevent Prompt Regressions
OpenAI's official prompting guide recommends pinning production applications to a specific model snapshot (such as o1-2024-12-17) and building evaluations to measure prompt behavior across iterations and model upgrades.
-
OpenAI Reasoning Tokens: Budget for Invisible Thinking
During its thinking phase, an o-series model explores branches, backtracks from contradictions, and verifies conclusions using hidden reasoning tokens that are never exposed in the UI but are billed and count toward cont
-
Claude Model Self-Knowledge Prompt for Model Routing
If your application requires the assistant to have accurate model self-knowledge, Anthropic recommends explicitly stating the model name or API string (e.g., claude-opus-5-5) in the system prompt. …
-
Perplexity API Filters: Use Parameters Not Prose
Perplexity's documentation emphasizes that API tool config parameters (such as recency filters for last day, week, month, or year) are applied by the search backend on every call, whereas prose-based filters inside the p
-
Llama 4 JSON Tool Calling: Strict Array Format
Llama 4 also supports a JSON zero-shot function calling format where the assistant outputs a JSON array of objects specifying name and parameters, followed by the same <|headerstart|>ipython<|headerend|> response turn. …
-
Self-Updating Markdown TODO Tracker for Gemini Agents
In multi-step agentic workflows on Gemini 3, instruct the model to track task progress using a self-updating Markdown list (- [ ] for pending, - [x] for complete) across turns. …
-
OpenAI Parallel Function Calling in One Turn
OpenAI models support calling multiple functions in a single turn—for example, when a user wants to check weather or infrastructure telemetry across 3 different locations simultaneously. Parse the tool arguments, execute
-
Steer Claude Adaptive Thinking After Tool Use
According to Anthropic's internal evaluations, adaptive thinking reliably drives better performance than extended thinking by scaling deliberation to query complexity. Because adaptive thinking trigger behavior is prompt
-
Codex CLI AGENTS.md 32 KiB Default Cap and How to Raise It
Codex CLI stops loading AGENTS.md instructions once the combined size of the files it found reaches projectdocmaxbytes, which is 32 KiB (32,768 bytes) by default, per OpenAI's AGENTS.md guide. The guide documents no warn
-
Keep CLAUDE.md Under 300 Lines With AGENTS.md
Because Claude Code's system prompt already consumes 50 instructions of the model's 150–200 instruction budget, keep CLAUDE.md under 300 lines. Maintain AGENTS.md (supported by Codex CLI, Cursor, Claude Code as fallback,
-
Mistral prompt_cache_key for Server-Side Prefix Caching
When running repeated queries over a shared system prompt and context across Mistral's 256k context window, configure promptcachekey: shared-prefix to reuse Mistral's server-side prompt cache across requests. …
-
Llama Stop Tokens: end_of_text vs eot
If EOS (<|endoftext|>) and EOT (<|eot|> or <|eotid|>) tokens aren't handled properly during tokenization and inference, Llama models can keep hallucinating or repeating text indefinitely because they never receive the si
-
DeepSeek-V3 vs R1 for Long-Context Workloads
Empirical evaluations note that DeepSeek-R1 is slightly less effective in massive long-context scenarios than state-of-the-art non-reasoning LLMs and occasionally becomes overwhelmed by increasingly long contexts, output
-
GPT-4o-mini to o3-mini: 3-Tier Complexity Router
Engineering analyses warn that deploying o1 or o3 blindly across all application traffic is an anti-pattern that can multiply API costs by 10x to 20x and increase P95 latency from 1.2s to 35+s. A production routing patte
-
DeepSeek-R1 Prompt for Distributed System Failure Traces
Use a zero-shot user prompt at temperature=0.5 on DeepSeek-R1 to reconstruct event ordering from unsynchronized microservice logs. …
-
Stop Claude Preambles With Positive Instructions
Because Claude tends to be chatty at the beginning of responses, and assistant prefills like "Here is the requested summary:\\n" are deprecated in newer models, use direct system prompt instructions paired with XML outpu
-
Run Llama 4 Scout 4-Bit on One 24GB GPU
4-bit quantization compresses Llama 4 Scout's weights by up to 4x, enabling deployment on a single 24GB VRAM card while preserving complex reasoning. Use concise, structured output schemas to maximize throughput on singl