Skip to content

Conversation

AnatoliB
Copy link
Contributor

@AnatoliB AnatoliB commented Sep 19, 2025

The Durable OpenAI Agents integration combines OpenAI Agents SDK with Azure Durable Functions to create reliable, stateful AI agents.

For more details, see docs/openai_agents/README.md.

AnatoliB and others added 25 commits September 2, 2025 17:41
…redential

Fix a typo: DefaultAzureCredential
* Initial pass on adding basic test scenarios with test script

* Add basic OpenAI samples with testing script

* Address PR comments
* Scaffold some basic tests.

* Move OpenAI tests.

* Move OpenAI tests.

* Add tests for tool use.

* Fixup merge.

* Resolve annotations error.

* A better way to resolve linter.

* Fixup linter.

* Try eliminate test failure.

* Try again.

* Try, try, again.
* Scaffold some basic tests.

* Move OpenAI tests.

* Move OpenAI tests.

* Add tests for tool use.

* Fixup merge.

* Resolve annotations error.

* A better way to resolve linter.

* Move decorator to app class.

* Rename functions.

* Fix linting errors.

* Resolve more linter errors.

* More linting.

* Better?

* Less text is more.

* More lines is more.

* Update sample.

* Separate activity logic from registration logic.

Signed-off-by: Phillip Hoff <[email protected]>

* Resolve linter warnings.

Signed-off-by: Phillip Hoff <[email protected]>

* Lines still too long.

Signed-off-by: Phillip Hoff <[email protected]>

---------

Signed-off-by: Phillip Hoff <[email protected]>
* Scaffold some basic tests.

* Move OpenAI tests.

* Move OpenAI tests.

* Add tests for tool use.

* Fixup merge.

* Resolve annotations error.

* A better way to resolve linter.

* Move decorator to app class.

* Rename functions.

* Fix linting errors.

* Resolve more linter errors.

* More linting.

* Better?

* Less text is more.

* More lines is more.

* Update sample.

* Better serialization of orchestration output.

* Account for "real" Pydantic models.

Signed-off-by: Phillip Hoff <[email protected]>

* Account for more native types.

Signed-off-by: Phillip Hoff <[email protected]>

* Fixup merge.

Signed-off-by: Phillip Hoff <[email protected]>

---------

Signed-off-by: Phillip Hoff <[email protected]>
* Change name of model activity.

Signed-off-by: Phillip Hoff <[email protected]>

* Push activity name down from DF app.

Signed-off-by: Phillip Hoff <[email protected]>

* Resolve linter warnings.

Signed-off-by: Phillip Hoff <[email protected]>

* Fixup merge.

* Fixup merge more.

---------

Signed-off-by: Phillip Hoff <[email protected]>
* Rename `activity_as_tool` to `create_activity_tool`.

* Account for explicitly-named tool activities.

* Linter fix.

* Try to make linter happy.
…ity tools, fix ActivityModelInput serialization (#16)
@AnatoliB AnatoliB marked this pull request as ready for review September 19, 2025 23:54
Copy link
Collaborator

@andystaples andystaples left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small comments, mostly about dependencies/imports. Will approve with the change to setup.py

@AnatoliB AnatoliB merged commit 4bef7ce into Azure:dev Sep 22, 2025
5 checks passed
greenie-msft pushed a commit to greenie-msft/azure-functions-durable-python that referenced this pull request Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants