* 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>
* 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
Eduard van Valkenburg
·
2025-07-02 09:38:50 +00:00
* Added code interpreter abstraction updates for OpenAI Assistants
* Updated Persistent Agents implementation based on latest changes in SDK
* Added code interpreter abstraction updates for Azure AI Persistent Agents
* Small note for OpenAI responses code interpreter
* Small update
* Fixes after merge
* Addressed PR feedback
* Small update
* Small fix
* Fix after merge
* Rename the folders
* Rename the .csproj files
* Some build file updates
* Update namespaces
* Fix order of imports
* Fix order of imports
* Fix order of imports
- Id should return a stable ID, not a different value per access
- The RunAsync virtuals needn't be virtuals... a derived type can/should override just the main worker abstract method
- The protected methods should do argument validation
* Remove additional instructions from AgentRunOptions since it is not well supported outside of ChatClientAgents
* Fix typos and remove unused test.
* Make further namespace fixes and update AzureAIAgent with new tests.
* Expand tests to increase code coverage
* Add sample for OpenAIAssistant
* Fix warning
* Add tools sample and simplify running samples.
* Restructure samples to show common features separate from each type of underlying IChatClient implementation.
* Remove unecessary suppression.
* Renaming namespaces based on suggestion from PR.
* Update ChatClientAgentThread to support both in-memory and service storage.
* Fix typos.
* Address PR comments
* Move code to reusable sections.
* Remove DefaultThreadStorageLocation
* Change thread type naming and make it internal
* Fix bug for streaming case.
* Add additional unit tests
* Add more unit tests to verify agent's thread update behavior.
* Fixed project build in Visual Studio
* Added Agent abstractions
* Remove features we are not porting over, addressing PR comments and making updates as per agreed design.
* Add create thread method.
* Add unit tests and update invoke response type to async
* Address PR comments and fix formatting.
* Switch to shared null checker to fix build failures.
* Add additional tests to increase code coverage
* Seal mockagent
* Fix line coverage failure
* Improve coverage check formatting
---------
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com>
* initial draft
* fixes
* fixes
* incorporate reviewer feedback
* Remove attachment of context providers to threads. A separate issue now tracks this design question.
* Add build and test in subfolder to see if it works
* Move build and test file to root workflows
* Update to .net 9, add checkout filter and fix package check
* Only run framework tests on windows-latest
* Fix if statements and restrict package check to release builds
* Fix coverage check
* Add dotnet format
* Address PR comment
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Address PR comments
Co-authored-by: Roger Barreto <19890735+RogerBarreto@users.noreply.github.com>
* Address PR comments
Co-authored-by: Roger Barreto <19890735+RogerBarreto@users.noreply.github.com>
* Fix error
* update package install check to run in temp folder.
* Fix typo in package install check
* Update net472 handling for tests
* Fix dotnet version name
* Update package install check with framework from matrix
* Remove switch from pack and rename to targetFramework
* Try /p switch for pack
* Move /p switch
* rename /p to /property
* Restrict package install check to netx
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Roger Barreto <19890735+RogerBarreto@users.noreply.github.com>
* Add skeleton dotnet project structure
* Fix casing in import statement.
* Moving tests folder to be a sibling of src.
* Update tests to use directory.builds.props and only build necessary frameworks.
* Move more test props to directory.build.props
* Add AotCompatible flag and .net 8.0
* Rename Tests to UnitTests
* Add global.json file
* Update publish mapping for unit tests to debug, to reduce build times.