Description
Upon restructuring our agentic solution set up, we build and release in a mode that started to rely on skills. Previous build set up did not.
Upon the switch we started to see session not updated with agent results and investigation led us to
#6843
This I believe is not classified as breaking change but we could see that skill loading was awaiting approval according to session. The symptom
{
"$type": "toolApprovalRequest",
"toolCall": {
"$type": "functionCall",
"name": "load_skill",
"arguments": {
"skillName": "flow-classifier"
},
"informationalOnly": true,
"callId": "call_YpVrfC7biu6hWAry8clkuDtv"
},
"requestId": "ficc_call_YpVrfC7biu6hWAry8clkuDtv"
}
No agent result was appended to the session.
Setting
options: new AgentSkillsProviderOptions
{
DisableLoadSkillApproval = true,
DisableReadSkillResourceApproval = true,
DisableRunSkillScriptApproval = true,
}
produces up to date result.
What is not yet clear to me is why the agent produced the result and not explicitly setting these things only broke the session update.
Code Sample
var session = await SessionService.GetOrCreateSessionAsync(agentSessionStore, sessionAgent, request.SessionId);
var result = await agent.RunAsync<OrchestrationEnvelope>(BuildMessage(request), session);
await SessionService.SaveSessionAsync(sessionAgent, agentSessionStore, session, request.SessionId);
the context for this pattern - #6858
Error Messages / Stack Traces
Package Versions
Microsoft.Agents.AI, 1.13
.NET Version
.net 10
Additional Context
No response
Description
Upon restructuring our agentic solution set up, we build and release in a mode that started to rely on skills. Previous build set up did not.
Upon the switch we started to see session not updated with agent results and investigation led us to
#6843
This I believe is not classified as breaking change but we could see that skill loading was awaiting approval according to session. The symptom
No agent result was appended to the session.
Setting
produces up to date result.
What is not yet clear to me is why the agent produced the result and not explicitly setting these things only broke the session update.
Code Sample
var session = await SessionService.GetOrCreateSessionAsync(agentSessionStore, sessionAgent, request.SessionId); var result = await agent.RunAsync<OrchestrationEnvelope>(BuildMessage(request), session); await SessionService.SaveSessionAsync(sessionAgent, agentSessionStore, session, request.SessionId);the context for this pattern - #6858
Error Messages / Stack Traces
Package Versions
Microsoft.Agents.AI, 1.13
.NET Version
.net 10
Additional Context
No response