* added AIAnnotation types and extra tests
* fixed typing and such
* use copy
* fix raw representation for add
* handle annotations in add
* clarified concat
* self to first
Eduard van Valkenburg
·
2025-08-08 20:27:31 +00:00
* Azure Responses client
* Fix a change made in the wrong place
* allow api_version and token_endpoint to use env vars
* Add getting started sample
* add responses deployment name env var
* update azure clients to use defaults for api_version and token_endpoint
* make tests more reliable
---------
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com>
* small fixes in foundry
* other samples updated
* make it optional
* added instructions and response format to create agent
* mypy fix
* shortened main readme and improved python readme
Eduard van Valkenburg
·
2025-08-04 08:13:44 +00:00
* Initial version of assistant client
* More updates to assistant client
* Finished assistant chat client implementation
* Small fixes and basic example
* Added code interpreter example
* More examples
* Added chat client example
* Small fixes
* Added tests
* Enabled telemetry
* Small fix
* Removed files temporarily
* Revert "Removed files temporarily"
This reverts commit 5cdfa0d299.
* Small fixes
* Addressed PR feedback
* Fixed tests
* Small update
* Added basic example with small fix
* Added example with function tools
* Added example with thread management
* Small renaming
* Added example with code interpreter
* Added non-streaming and streaming examples
* Updated resource management
* Added examples with thread management
* Added function tools examples
* Small rename
* Added code interpreter example
* Updated example
* Addressed PR feedback
* Added more OpenAI and Azure chat completion examples
* File renaming
* Small fix in tests
* Small revert
* More renaming
* Small fix
* move all tests under tests and initial work on int tests
* added updated tests setup and merge tests
* without failing step
* fixed upload
* updated file names for coverage
* reenable surface tests
* removed package matrix
* simplified variables
* correct path
* removed mistake
* fix mistake in path
* fix path
* windows specific env set
* updated merge tests
* slight update in marker
* added run integration tests settings
* updated setup, moved foundry int tests and updated merge test
Eduard van Valkenburg
·
2025-07-22 15:26:00 +00:00
* Initial version of FoundryChatClient
* Updates to the tool call streaming wrapper
* Small fixes
* Small updates and addressed PR feedback
* Handle automatic client creation
* Small improvement
* Added credential parameter
* Small improvements
* Made FoundryChatClient disposable
* Small fixes
* Added unit tests
* Refactored samples
* Small improvements
* Small fix
* Addressed PR feedback
* Small fixes
* Small updates
* Small fix
* Addressed PR feedback
* tweaks to agents and sample
* updated clients and agents
* single line run and print
* improved tool handling
* added note on setting max iterations
* fixed streaming param name
* updated tools test
* made kwargs alphabetical
* added params to run methods
* tweak to ensure right overload
Eduard van Valkenburg
·
2025-07-15 14:01:21 +00:00
* Added ChatClientAgentThread
* Initial version of ChatClientAgent
* Completed ChatClientAgent
* Small fixes and unit tests
* Fixes based on pre-commit
* Small fixes
* Small renaming
* Small improvement
* Small fixes
* Addressed PR feedback
* Small fix
* Added method for AgentRunResponse from streaming conversion
* Addressed PR feedback
* Addressed PR feedback
* Addressed PR feedback
* Small fix
* More fixes
* Removed instructions property from Agent
* Added AgentRunResponse and AgentRunResponseUpdate types
* Added unit tests for agent response types
* Small fix
* Addressed PR feedback
* Small improvement
* Small fix
* added ChatClientBase with function calling
* streaming update
* fixed typing
* test setup
* small update
* src setup
* removed src, updated test naming
* fixed test command
* alolow args
* updated test run
* added unit test folder to azure
* added init and unit test to azure
* added other cross tests
* restructured
* reset test run
* fix name
* removed always
* updated test
* extend pytest.xml locations
* run surface always
* added decorators for FC and marked tests
* fixed mypy settings and added tests
* fix override import
* removed import
Eduard van Valkenburg
·
2025-07-10 09:18:15 +00:00
* Added Agent and AgentThread classes
* Addressed PR feedback
* Converted Agent to protocol
* Removed thread deletion logic
* Small update
* Small updates to the Agent protocol
* 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>