-
Enable connection for assistant inner tool (#2000)
发布于
2024-02-28 10:03:25 +00:00 Description
This PR is to support connection usage when you define the inner tools
within assistant.Changed involed:
0) contract level: adding hinted attribute _tool_invoker as container
for resolved structure- moved the assistant inner function resolve logic from
AssistantToolInvoker to _tool_resolver.py and enable the connection type
resolve - refined the assistant python script logic to handle better about
state management - Create e2etests for assistant with connection run
- Created connection for assistant aoai test
All Promptflow Contribution checklist:
- The pull request does not introduce [breaking changes].
- CHANGELOG is updated for new features, bug fixes or other
significant changes. - I have read the contribution guidelines.
- Create an issue and link to the pull request to get dedicated
review from promptflow team. Learn more: suggested
workflow.
General Guidelines and Best Practices
- Title of the pull request is clear and informative.
- There are a small number of commits, each of which have an
informative message. This means that previously merged commits do not
appear in the history of the PR. For more information on cleaning up the
commits in your PR, see this
page.
Testing Guidelines
- Pull request includes test coverage for the included changes.
下载附件
- moved the assistant inner function resolve logic from