microsoft / microsoft/agent-framework
.NET: [Feature]: Add a session when initiating an agent conversation in DevUI.
- Dominant language
- Python
- Stars
- 13.6k
- Forks
- 2.3k
- Avg merge
- 2d 45m
- Merged PRs (30d)
- 358
Description
### Description
When conversing with an agent in DevUI and using a custom ChatHistoryProvider, the InvokedContext.Session in StoreChatHistoryAsync is always null, which is extremely inconvenient for debugging agents that require state storage.
Or is this happening because I missed some DevUI configuration, or is it that DevUI doesn't support this scenario natively?
### Code Sample
```markdown
```
### Language/SDK
.NET
Contributor guide
Research direction
Start with DevUI conversation initiation and trace how a custom ChatHistoryProvider reaches StoreChatHistoryAsync through InvokedContext.Session. Confirm whether the existing configuration supports this scenario; done means a DevUI-initiated conversation provides the relevant session to StoreChatHistoryAsync, with behavior clarified or covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- ai
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100