Start Debugging

Daily notes on .NET, C#, EF Core, MAUI, Blazor, and Flutter - for developers who ship.

2026-11-25 ai-agentsllmcodex

How to Run Codex CLI Against Google Cloud Vertex AI with model_provider = "gcp"

Codex CLI 0.165.0 added a built-in gcp provider that sends Responses API traffic to Vertex AI and bills your Google Cloud project. How to set it up in ~/.codex/config.toml, authenticate with ADC or a credential file, pick a model the provider actually exposes, run it headless in CI, and avoid the gotchas: project-local config is ignored, the global location, the missing hosted tools, and the background models memories need. Codex CLI 0.167.0+.

Why does EF Core forbid concurrent reads on one DbContext, even with AsNoTracking?

A read is not read-only inside a DbContext: every query mutates the shared connection, its open counter, the command and reader state, and for tracking queries the identity map. With thread-safety checks turned off on EF Core 11.0.0, parallel AsNoTracking queries on one context still failed up to 57 times in 1,000 rounds, and tracking queries left a corrupted change tracker in all but one of the rounds that finished.

How to Cut claude -p Input Tokens When claude.ai Connectors Add Hundreds of Thousands of Tokens to Every Headless Call

On a claude.ai subscription login, every connector on your account rides along into each claude -p call. With tool search on, that costs a few thousand tokens. Pass --tools without ToolSearch and the full definitions load upfront: one reported health check went from 2,854 to 429,388 input tokens. How to drop the connectors with ENABLE_CLAUDEAI_MCP_SERVERS=false, disableClaudeAiConnectors or --strict-mcp-config, keep the MCP servers you need, and add a token ceiling so the next auto-loaded feature cannot silently come back. Claude Code 2.1.331.
Page 1 of 121 Next ›