Skip to main content

114 posts tagged with "Agents"

Intelligent Agents and Their Applications

View All Tags

Fixed: "error OPENAI001: 'OpenAI.Responses.ResponsesClient' is for evaluation purposes only and is subject to change or removal in future updates"

· 7 min read
Jagdish Kumawat
Founder @ Dewiride

I connected a Microsoft Agent Framework agent to a Microsoft Foundry model the keyless way Microsoft documents — the OpenAI client library, the OpenAI v1 endpoint and a Microsoft Entra ID token — and the build failed with four errors, all OPENAI001: for evaluation purposes only and is subject to change or removal in future updates. Nothing was wrong with the code; the compiler wanted my consent.

How to Keep Each User's Conversations Separate in a Microsoft Agent Framework AG-UI Server

· 24 min read
Jagdish Kumawat
Founder @ Dewiride

An AG-UI request names the conversation it continues with a threadId, and a Microsoft Agent Framework server continues whichever conversation that ID points to. Unless the server also files conversations by who is asking, anyone who sends your threadId continues your conversation. This guide files every conversation under the signed-in caller's Microsoft Entra ID object ID, with real runs: the same person continuing a conversation, and a second caller getting a new one with the same threadId.

How to Add a Stop Button to an AG-UI Chat

· 6 min read
Jagdish Kumawat
Founder @ Dewiride

A long AI answer needs a way out: a Stop button that ends it where it is. With the AG-UI TypeScript client, the stop itself is one call, abortRun(). Around it, the page needs to know when a run is going, show Stop instead of Send, and not mistake the stop for an error. This guide adds all of that to a React chat and shows the result.

How to Customize the Request an AG-UI HttpAgent Sends

· 6 min read
Jagdish Kumawat
Founder @ Dewiride

HttpAgent from @ag-ui/client sends a complete AG-UI request on every run: the whole conversation, tools, state and more. That's right for talking to an AG-UI server directly, but not for a server route that accepts only a few fields — or an agent that keeps its own history. HttpAgent builds each request in a method you can override, requestInit. This guide shows the default body, the override, and the real bodies before and after.

How to Filter AG-UI Events Before They Reach the Browser

· 6 min read
Jagdish Kumawat
Founder @ Dewiride

An AG-UI server streams a lot more than a chat page shows. Microsoft Agent Framework's events carry the model provider's own update in rawEvent — response IDs and the exact model version — the final event reports token usage, and reasoning models send encrypted reasoning. A server route between the agent and the browser can pass on only what the page needs. This guide shows the filter and real events before and after it.

Fixed: "signal is aborted without reason" After Stopping an AG-UI Run

· 6 min read
Jagdish Kumawat
Founder @ Dewiride

My chat page had a Stop button that calls abortRun() on its AG-UI agent. Pressing it stopped the answer — and showed signal is aborted without reason in red, as if something had failed. That text is the browser's wording for a cancelled request: @ag-ui/client 1.0.5 ends a stopped run with its own RUN_ERROR event, code abort. Skipping that one code fixed it.

How to Keep Conversation History in a Microsoft Agent Framework AG-UI Server (.NET)

· 10 min read
Jagdish Kumawat
Founder @ Dewiride

An agent that you serve with Microsoft Agent Framework's MapAGUIServer answers every request as if it had never met you — until the server has somewhere to keep conversations. That place is a session store. This guide adds one for development, shows the same follow-up question before and after, and explains where the history really ends up.

Fixed: AG-UI Agent Receives the Conversation Twice in Microsoft Agent Framework

· 8 min read
Jagdish Kumawat
Founder @ Dewiride

I continued a conversation the way many chat clients do — by sending the whole conversation again — and the Microsoft Agent Framework agent read its first question and its own first answer twice. The answer still looked fine, which is what makes this easy to miss. Foundry's stored input showed the duplicates, and sending only the new message fixed it.

Fixed: "Agent Isolation Key Is Required but Was Not Provided by the Configured AgentIsolationKeyProvider"

· 8 min read
Jagdish Kumawat
Founder @ Dewiride

I gave a Microsoft Agent Framework agent a session store so it would remember conversations, and every request started failing with a 500: Agent isolation key is required but was not provided by the configured AgentIsolationKeyProvider. I had configured no provider at all. The default store wanted to know who was calling, and my API had no way to tell it.