Commit Graph

13 Commits

  • .NET: Add support for background responses (#1501)
    * add support for background responses
    
    * Update dotnet/src/Microsoft.Agents.AI.Abstractions/AgentRunResponseUpdate.cs
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    
    * fix broken link
    
    * fix xml comments and background responses properties override funcitonity
    
    * change ai model provider
    
    * use Run{Streaming}Async overloads that don't require messages
    
    * stop using m: prefix in cref attribute of <see/> element.
    
    * reject input messages provided with continuation token + don't extract messages from message store and context provide if continuation token is provided
    
    * use agent thread for background-responses sample
    
    * require agent thread for background responses
    
    * Update dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgent.cs
    
    Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com>
    
    * Update dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgent.cs
    
    Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com>
    
    * remove CA1200
    
    * Update dotnet/src/Microsoft.Agents.AI.Abstractions/AgentRunOptions.cs
    
    Co-authored-by: westey <164392973+westey-m@users.noreply.github.com>
    
    * Update dotnet/src/Microsoft.Agents.AI.Abstractions/AgentRunResponse.cs
    
    Co-authored-by: westey <164392973+westey-m@users.noreply.github.com>
    
    * Update dotnet/src/Microsoft.Agents.AI.Abstractions/AgentRunResponse.cs
    
    Co-authored-by: westey <164392973+westey-m@users.noreply.github.com>
    
    * address pr review comments
    
    * Update dotnet/samples/GettingStarted/Agents/Agent_Step17_BackgroundResponses/Program.cs
    
    Co-authored-by: westey <164392973+westey-m@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com>
    Co-authored-by: westey <164392973+westey-m@users.noreply.github.com>
  • Python: update to packaging section of python package design doc (#727)
    * update to packaging section
    
    * added options
    
    * clarification and typo
    
    * updated python packaging guidance, moved discussion to appendix
    
    * moved discussion into ADR
    
    * updated folder strcutre
  • Adding draft version of workflows design doc. (#271)
    * Adding draft version of workflows design doc.
    
    * Adding message flow diagrams and fixing group chat sample.
    
    * Added sequence diagram for fan_in with WhenAny
    
    * Updating workflows design
    
    * clean up
    
    * Clean up request & response contents
    
    * Add more future enhacements
    
    * message_handler -> handler
    
    * remove mention of visual designer
    
    * Minor updates and rename
    
    * Name reformat
    
    ---------
    
    Co-authored-by: Chris <66376200+crickman@users.noreply.github.com>
    Co-authored-by: Tao Chen <taochen@microsoft.com>
    Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
  • Python: Adding support for nested workflows (#460)
    * Adding design documents and data flow descriptions for sub-workflows
    
    * Updating docs.
    
    * Sub-workflow implementation #1. Stuck because of singleton RequestInfoExecutor, going to make a change to remove that restrivtion.
    
    * Removed the singleton restriction on RequestInfoExecutor so enable sub-workflows.
    
    * Scenarios seem to be working.
    
    * Sample improved.
    
    * going to have intern add generic response wrappers.
    
    * Wrapped responses working.
    
    * Non-hardcoded routing is working.
    
    * Sample showing external approved and not approved.
    
    * Cleaning up.
    
    * Updating some samples and user guide.
    
    * Removing old design doc.
    
    * Cleaning up.
    
    * Adding python-package-setup.md back.
    
    * Update python/packages/workflow/agent_framework_workflow/_executor.py
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    
    * Update python/packages/workflow/agent_framework_workflow/_validation.py
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    
    * Removing prints.
    
    * Fixing lint and type issues.
    
    * Fixing lint and type issues.
    
    * Update python/packages/workflow/agent_framework_workflow/_executor.py
    
    Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
    
    * Adding type hints to intercepts decorator.
    
    * Removing unused files.
    
    * Fixing issue with sample 5 groupchat with hil.
    
    * Removing redundent samples.
    
    * Updates to ensure no conflicting request interceptors and to support a subflow with multiple requests in a single super step.
    
    * Fixing pypi errors.
    
    * clean up samples
    
    * update samples to make it more clear
    
    * warning for unhandled request info from sub workflow
    
    * add logger info
    
    ---------
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
  • Python: updated python design and dev setup (#171)
    * updated python design and dev setup
    
    * updated dev setup
    
    * updated dev setup
  • feat: Model Client and associated Content Types (#53)
    * feat: ModelClient and content types
    
    * refactor: Pythonify ChatResponseFormat and ChatRole
    
    * feat: Add guardrail interfaces
    
    * refactor: Remove CancellationToken
    
    * feat: Solidify the Usage APIs
    
    * Adds well-known keys for additional_counts, and guidance for how to avoid collisions between providers
    * Implement sum-aggregation for usage
    
    * refactor: Move AITool out of model_client
    
    * refactor: Copy editing
    
    * fix: CI checks (pyupgrade, ruff, etc.)
    
    * ci: Fix pre-commit to use pyright in  uv venv
    
    The existing pyright precommit hook inside of python-pyright is no longer being maintained by the owner (see  https://github.com/RobertCraigie/pyright-python/issues/265)
    
    The fix is to define the hook ourselves, relying on `uv run` to drive it. In order for that to work right we need to use the "system" language to break out of the sandbox.
    
    * fix: Pyright error fixes
    
    * docs: Update models and types design docs
    
    * Python: Refinement of content types and model client  (#112)
    
    * refinement of structure and buildup
    with ports from semantigen
    
    * refined the data and uri contents
    
    * refined chat response and updates
    
    * moved things and added tests
    
    * moved out of src folder
    
    * fixed imports and tests
    
    * small tweaks
    
    * missing build system
    
    * upgrade
    
    * add mypy
    
    * fixed typing for types
    
    * fix tests
    
    * fixed tool
    
    * disable json checks on vscode
    
    * remove print
    
    ---------
    
    Co-authored-by: Eduard van Valkenburg <eavanvalkenburg@users.noreply.github.com>
    Co-authored-by: eavanvalkenburg <github@vanvalkenburg.eu>
  • Python package design (#108)
    * initial draft of python package design
    
    * typo
    
    * revision
    
    * further updates
    
    * refinement
    
    * refinement
    
    * refinment
    
    * added open q
    
    * small edits
    
    * type checking update
    
    * refinement
    
    * extended the logging section
    
    * updates based on review
    
    * added note on Otel
    
    * restructured for even less verbosity
  • Memory, RAG, and other Context Providers (#54)
    * initial draft
    
    * fixes
    
    * fixes
    
    * incorporate reviewer feedback
    
    * Remove attachment of context providers to threads. A separate issue now tracks this design question.
  • Thread interfacce (#50)
    * Thread interfacce
    
    * Update to address comments
    
    * Update
    
    * Update
  • Design doc draft (#5)
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * Update docs/design/main.md
    
    Co-authored-by: Evan Mattson <35585003+moonbox3@users.noreply.github.com>
    
    * Update docs/design/main.md
    
    Co-authored-by: Evan Mattson <35585003+moonbox3@users.noreply.github.com>
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * update
    
    * update
    
    * update
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * address comment
    
    * update
    
    * add custom agent example
    
    * address comment
    
    * update code teaser
    
    * Update docs/design/main.md
    
    Co-authored-by: Evan Mattson <35585003+moonbox3@users.noreply.github.com>
    
    * update
    
    * address comments
    
    * update guardrails
    
    * address some of mark's comments
    
    * add new separate sections for agents and workflows
    
    * update agent doc
    
    * Update agent.md
    
    Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
    
    * add foundry agent doc
    
    * wip
    
    * refine the component registration interface with agent runtime
    
    * update
    
    * workflows
    
    * update
    
    * update
    
    * Update
    
    * Update
    
    * update
    
    * Update design doc to remove runtime
    
    * Update
    
    * Update
    
    * Update
    
    * update
    
    * Add eval section notes (#9)
    
    * add notes on eval
    
    * remove duplicate title
    
    * update docs
    
    * update docs
    
    * save updates before merge
    
    * update evaluation script
    
    * Update agents.md
    
    * update workflows
    
    * Update
    
    Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
    
    * update workflow
    
    * Updated design doc
    
    * Update
    
    * Update
    
    * update
    
    * update
    
    * Update
    
    * update
    
    * update
    
    * Update
    
    * update
    
    * Update with agent abstraction alternatives
    
    * Update discussion
    
    * Update
    
    * update
    
    * Update
    
    * Update
    
    * Update
    
    * Update
    
    ---------
    
    Co-authored-by: Evan Mattson <35585003+moonbox3@users.noreply.github.com>
    Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
    Co-authored-by: Victor Dibia <chuvidi2003@gmail.com>