-
Notifications
You must be signed in to change notification settings - Fork 136
V1.16.1rc2 #880
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
V1.16.1rc2 #880
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 1.16.0-rc1 Signed-off-by: Elena Kolevska <elena@kolevska.com> * [Conversation API - Alpha2] Add new tool calling capability (dapr#822) (dapr#832) * initial * fixes after proto change upstream * minor name changes and cleanup unused function * refactors, updates to readme, linting * feedback * feedback, updates * fix import in examples * cleanup, import, lint, more conversation helpers * clarify README, minor test import changes, copyright * feedback DRY test_conversation file * lint * move conversation classes in _response module to conversation module. Some example README refactor/lint * minor readme change * Update daprdocs/content/en/python-sdk-docs/python-client.md * lint * updates to fix issue with tool calling helper when dealing with classes instead of dataclasses, and also with serializatin output of the tool back to the LLM * coalesce conv helper tests, fix typing lint * make indent line method doc more dev friendly * tackle some feedback, still missing unit tests * add unit test to convert_value_to_struct * more unit tests per feedback * make async version of unit test conversation * add some information how to run markdown tests with a different runtime * ran tox -e ruff, even though tox -e flake8 was fine * add tests to increase coverage in conversation and conversation_helpers that codecov pointed out * add more information on execute registered tools, also added more tests for them to validate * fix test failing on py 1.13. Merge two unit test files per feedback * Linter * fix typing issue with UnionType in py3.9 --------- Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com> Signed-off-by: Elena Kolevska <elena@kolevska.com> Co-authored-by: Albert Callarisa <albert@acroca.com> Co-authored-by: Elena Kolevska <elena-kolevska@users.noreply.github.com> Co-authored-by: Elena Kolevska <elena@kolevska.com> * update docs with tool calling helpers info (dapr#838) Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com> * 1.16.0rc2 Signed-off-by: Elena Kolevska <elena@kolevska.com> * use latest durabletask (dapr#840) Signed-off-by: Cassandra Coyle <cassie@diagrid.io> * 1.16.0 Signed-off-by: Elena Kolevska <elena@kolevska.com> * Adds support for interceptors and concurrency_options arguments in the workflow engine (dapr#841) Signed-off-by: Albert Callarisa <albert@diagrid.io> * Implement multi-app workflows (dapr#844) * feat: Adds support for cross-app calls. Signed-off-by: Albert Callarisa <albert@diagrid.io> * Use durabletask alpha.9 Signed-off-by: Albert Callarisa <albert@diagrid.io> * Added examples for error scenarios in multi-app workflow Signed-off-by: Albert Callarisa <albert@diagrid.io> * Remove unnecessary hardcoded ports Signed-off-by: Albert Callarisa <albert@diagrid.io> --------- Signed-off-by: Albert Callarisa <albert@diagrid.io> * chore: Rename wait_until_ready to wait_for_sidecar (dapr#843) Signed-off-by: Albert Callarisa <albert@diagrid.io> Co-authored-by: Elena Kolevska <elena-kolevska@users.noreply.github.com> * 1.16.1rc1 (dapr#846) Signed-off-by: Albert Callarisa <albert@diagrid.io> --------- Signed-off-by: Elena Kolevska <elena@kolevska.com> Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com> Signed-off-by: Cassandra Coyle <cassie@diagrid.io> Signed-off-by: Albert Callarisa <albert@diagrid.io> Co-authored-by: Elena Kolevska <elena@kolevska.com> Co-authored-by: Filinto Duran <1373693+filintod@users.noreply.github.com> Co-authored-by: Albert Callarisa <albert@acroca.com> Co-authored-by: Elena Kolevska <elena-kolevska@users.noreply.github.com> Co-authored-by: Albert Callarisa <albert@diagrid.io>
* Linting and tooling updates - Update ruff and set it to fix imports - Remove flake8 and replace it with ruff Signed-off-by: Albert Callarisa <albert@diagrid.io> * run `tox -e ruff` Signed-off-by: Albert Callarisa <albert@diagrid.io> --------- Signed-off-by: Albert Callarisa <albert@diagrid.io>
…sion (dapr#863) Signed-off-by: Albert Callarisa <albert@diagrid.io>
Signed-off-by: Albert Callarisa <albert@diagrid.io> Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
* remove py39 Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com> * Apply suggestions from code review Fix yaml strings Signed-off-by: Albert Callarisa <albert@acroca.com> --------- Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com> Signed-off-by: Albert Callarisa <albert@acroca.com> Co-authored-by: Albert Callarisa <albert@acroca.com> Co-authored-by: Albert Callarisa <albert@diagrid.io>
* add dapr checkpointer for langgraph Signed-off-by: yaron2 <schneider.yaron@live.com> * linter Signed-off-by: yaron2 <schneider.yaron@live.com> * Update dapr-ext-langgraph/dapr/ext/langgraph/__init__.py Co-authored-by: Cassie Coyle <cassie.i.coyle@gmail.com> Signed-off-by: Yaron Schneider <schneider.yaron@live.com> * Update dapr-ext-langgraph/dapr/ext/langgraph/version.py Co-authored-by: Albert Callarisa <albert@acroca.com> Signed-off-by: Yaron Schneider <schneider.yaron@live.com> * Update dapr-ext-langgraph/setup.cfg Co-authored-by: Albert Callarisa <albert@acroca.com> Signed-off-by: Yaron Schneider <schneider.yaron@live.com> * Update dapr-ext-langgraph/setup.cfg Co-authored-by: Albert Callarisa <albert@acroca.com> Signed-off-by: Yaron Schneider <schneider.yaron@live.com> * add CI steps Signed-off-by: yaron2 <schneider.yaron@live.com> * use single client, minor improvements Signed-off-by: yaron2 <schneider.yaron@live.com> * linter Signed-off-by: yaron2 <schneider.yaron@live.com> * fix dir structure Signed-off-by: yaron2 <schneider.yaron@live.com> * add tests Signed-off-by: yaron2 <schneider.yaron@live.com> * linter Signed-off-by: yaron2 <schneider.yaron@live.com> * Run langgraph unit tests with tox Signed-off-by: Albert Callarisa <albert@diagrid.io> --------- Signed-off-by: yaron2 <schneider.yaron@live.com> Signed-off-by: Yaron Schneider <schneider.yaron@live.com> Signed-off-by: Albert Callarisa <albert@diagrid.io> Co-authored-by: Cassie Coyle <cassie.i.coyle@gmail.com> Co-authored-by: Albert Callarisa <albert@acroca.com> Co-authored-by: Albert Callarisa <albert@diagrid.io>
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [mypy-protobuf](https://github.com/nipunn1313/mypy-protobuf) from 3.6.0 to 3.7.0. - [Changelog](https://github.com/nipunn1313/mypy-protobuf/blob/main/CHANGELOG.md) - [Commits](nipunn1313/mypy-protobuf@v3.6.0...v3.7.0) --- updated-dependencies: - dependency-name: mypy-protobuf dependency-version: 3.7.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Albert Callarisa <albert@diagrid.io>
Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com>
…k.aio.client implementation (dapr#861) * Added async workflow client implementation, leveraging new durabletask.aio.client implementation Signed-off-by: Patrick Assuied <patrick.assuied@elationhealth.com> * lint Signed-off-by: Patrick Assuied <patrick.assuied@elationhealth.com> * Refactor DaprWorkflowClientAsync to DaprWorkflowClient for consistency Signed-off-by: Patrick Assuied <patrick.assuied@elationhealth.com> * DRY Signed-off-by: Patrick Assuied <patrick.assuied@elationhealth.com> * Added example for using the async workflow client adapted from the simple example. Signed-off-by: Patrick Assuied <patrick.assuied@elationhealth.com> * ruff'ed Signed-off-by: Patrick Assuied <patrick.assuied@elationhealth.com> * PR feedback Signed-off-by: Patrick Assuied <patrick.assuied@elationhealth.com> * added header Signed-off-by: Patrick Assuied <patrick.assuied@elationhealth.com> * lint Signed-off-by: Patrick Assuied <patrick.assuied@elationhealth.com> * Remove 'STEP' directives installing server version of package instead of local version (therefore overriding local changes) Signed-off-by: Patrick Assuied <patrick.assuied@elationhealth.com> --------- Signed-off-by: Patrick Assuied <patrick.assuied@elationhealth.com>
* chore: remove repo root py.typed. Only necessary in the pkg root Signed-off-by: Casper Nielsen <casper@diagrid.io> * chore: add py.typed & ref in setup.cfg Signed-off-by: Casper Nielsen <casper@diagrid.io> * fix: correct path for ext workflows py.typed file Signed-off-by: Casper Nielsen <casper@diagrid.io> * fix: correct path for other ext packes py.typed file Signed-off-by: Casper Nielsen <casper@diagrid.io> * fix: move back to correct location Signed-off-by: Casper Nielsen <casper@diagrid.io> * feat: simplify main dapr pkg typed setup Signed-off-by: Casper Nielsen <casper@diagrid.io> * feat: add type info for flask_dapr Signed-off-by: Casper Nielsen <casper@diagrid.io> --------- Signed-off-by: Casper Nielsen <casper@diagrid.io>
…scription.py to avoid blocking, ensuring the asyncio gRPC stream can close properly. (dapr#839) * wait for Dapr health check asynchronously Switch Dapr health check from blocking call to async call to avoid blocking the event loop in async environments Signed-off-by: mingsing <107218803@qq.com> * add StatusCode.UNKNOWN branch Signed-off-by: mingsing <107218803@qq.com> * aio dapr health Signed-off-by: mingsing <107218803@qq.com> * add healthcheck test Signed-off-by: mingsing <107218803@qq.com> * ruff pass Signed-off-by: mingsing <107218803@qq.com> * fix async health check Signed-off-by: mingsing <107218803@qq.com> * use aiohttp Signed-off-by: mingsing <107218803@qq.com> * use aiohttp for asynchronous health check Signed-off-by: mingsing <107218803@qq.com> * remove deprecated wait_until_ready in async DaprHealth Signed-off-by: mingsing <107218803@qq.com> * rm DaprHealth.get_ssl_context in test_dapr_grpc_client_async_secure Signed-off-by: mingsing <107218803@qq.com> * format Signed-off-by: mingsing <107218803@qq.com> * Revert "rm DaprHealth.get_ssl_context in test_dapr_grpc_client_async_secure" Signed-off-by: mingsing <107218803@qq.com> * ruff check Signed-off-by: mingsing <107218803@qq.com> --------- Signed-off-by: mingsing <107218803@qq.com> Co-authored-by: mingsing <107218803@qq.com> Co-authored-by: Albert Callarisa <albert@diagrid.io>
* feat: align put, put_writes and get_tuple to redis checkpoint saver for consistincy Signed-off-by: Casper Nielsen <casper@diagrid.io> * chore: include new import of python-ulid for langgraph checkpoint support Signed-off-by: Casper Nielsen <casper@diagrid.io> * chore: ruff formatting Signed-off-by: Casper Nielsen <casper@diagrid.io> * fix: include missing import of msgpack Signed-off-by: Casper Nielsen <casper@diagrid.io> * fix: ensure handing of empty checkpoint_id passed in config to put_writes Signed-off-by: Casper Nielsen <casper@diagrid.io> * chore: align extract of config between put and put_writes Signed-off-by: Casper Nielsen <casper@diagrid.io> * fix: handle str retrieval for get_tuple with extra type checking Signed-off-by: Casper Nielsen <casper@diagrid.io> * chore: add example for ext-langgraph Signed-off-by: Casper Nielsen <casper@diagrid.io> * fix: rename to redis-memory Signed-off-by: Casper Nielsen <casper@diagrid.io> * feat: add sqlite component Signed-off-by: Casper Nielsen <casper@diagrid.io> * fix: remove refs to redis Signed-off-by: Casper Nielsen <casper@diagrid.io> * chore: update readme with details on dual state component setup Signed-off-by: Casper Nielsen <casper@diagrid.io> * fix: add guard for None metadata Signed-off-by: Casper Nielsen <casper@diagrid.io> * test: update test case to handle new output format Signed-off-by: Casper Nielsen <casper@diagrid.io> * chore: remove redundant graph .compile() call Signed-off-by: Casper Nielsen <casper@diagrid.io> * fix: remove statestores and rely on existing metadata created Signed-off-by: Casper Nielsen <casper@diagrid.io> * fix: delete files not needed to align with ci testing Signed-off-by: Casper Nielsen <casper@diagrid.io> * fix: rename to agent.py & simplify Signed-off-by: Casper Nielsen <casper@diagrid.io> * chore: align deps Signed-off-by: Casper Nielsen <casper@diagrid.io> * fix: correct readme to align with other examples Signed-off-by: Casper Nielsen <casper@diagrid.io> * chore: add extra validation lines Signed-off-by: Casper Nielsen <casper@diagrid.io> * feat: add langgraph-checkpointer to test Signed-off-by: Casper Nielsen <casper@diagrid.io> * chore: ruff formatting Signed-off-by: Casper Nielsen <casper@diagrid.io> * fix: add instruction for the OPENAI_API_KEY export Signed-off-by: Casper Nielsen <casper@diagrid.io> * feat: attempt using smaller llama model for examples testing Signed-off-by: Casper Nielsen <casper@diagrid.io> * fix: correct deps for ci install Signed-off-by: Casper Nielsen <casper@diagrid.io> * feat: ensure ci installs required dependencies Signed-off-by: Casper Nielsen <casper@diagrid.io> * chore: formatting Signed-off-by: Casper Nielsen <casper@diagrid.io> * fix: ensure ollama runs as a bg process Signed-off-by: Casper Nielsen <casper@diagrid.io> * fix: be more concise in the multiply ask Signed-off-by: Casper Nielsen <casper@diagrid.io> * fix: the small model isn't consistent enough for CI to depend on it. Add sleep to ensure ollama us serving before pulling model Signed-off-by: Casper Nielsen <casper@diagrid.io> * fix: simplify verification strings to handle non determinism in response Signed-off-by: Casper Nielsen <casper@diagrid.io> --------- Signed-off-by: Casper Nielsen <casper@diagrid.io>
Signed-off-by: Casper Nielsen <casper@diagrid.io>
* Add Strands Agent Session Manager Signed-off-by: yaron2 <schneider.yaron@live.com> * linter Signed-off-by: yaron2 <schneider.yaron@live.com> * address feedback Signed-off-by: yaron2 <schneider.yaron@live.com> * fix linter and add missing copyright header to langgraph Signed-off-by: yaron2 <schneider.yaron@live.com> --------- Signed-off-by: yaron2 <schneider.yaron@live.com> Co-authored-by: Albert Callarisa <albert@diagrid.io>
Signed-off-by: Albert Callarisa <albert@diagrid.io>
Signed-off-by: Albert Callarisa <albert@diagrid.io>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Please explain the changes you've made
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: