-
Notifications
You must be signed in to change notification settings - Fork 158
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
Add Assistant API for agent #490
Conversation
@minmin-intel , @XuhuiRen , initial impl for assistant API |
Codecov ReportAll modified and coverable lines are covered by tests ✅
|
da4bc5c
to
d9baddb
Compare
@minmin-intel , @XuhuiRen, @ftian1 @kevinintel @lkk12014402 We will use v1/assistants => create assistant |
@chensuyue this UT seems to fail on other issue, may you take a look |
@xuechendi I think the functionality looks good. But I have a couple of questions:
|
I have aligned with Minmin on question 1. For Question 2, run is saved in global_threads_kv which is a threadSafeDict. and it can be canceled, resume in future request. |
59c4dff
to
27a0510
Compare
@minmin-intel @XuhuiRen , please help to review this PR. Would like to add AssistantAPI by this week. |
Signed-off-by: Chendi.Xue <[email protected]>
Signed-off-by: Chendi.Xue <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Signed-off-by: Chendi.Xue <[email protected]>
71e2658
to
d9eb05c
Compare
for more information, see https://pre-commit.ci
Signed-off-by: Chendi.Xue <[email protected]>
* Add assistants api support Signed-off-by: Chendi.Xue <[email protected]> * update UT to match new port definition Signed-off-by: Chendi.Xue <[email protected]> * rebase Signed-off-by: Chendi.Xue <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix gramma in Test Signed-off-by: Chendi.Xue <[email protected]> --------- Signed-off-by: Chendi.Xue <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> (cherry picked from commit f3a8935) Signed-off-by: chensuyue <[email protected]>
* Add assistants api support Signed-off-by: Chendi.Xue <[email protected]> * update UT to match new port definition Signed-off-by: Chendi.Xue <[email protected]> * rebase Signed-off-by: Chendi.Xue <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix gramma in Test Signed-off-by: Chendi.Xue <[email protected]> --------- Signed-off-by: Chendi.Xue <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Signed-off-by: siddhivelankar23 <[email protected]>
* Add assistants api support Signed-off-by: Chendi.Xue <[email protected]> * update UT to match new port definition Signed-off-by: Chendi.Xue <[email protected]> * rebase Signed-off-by: Chendi.Xue <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix gramma in Test Signed-off-by: Chendi.Xue <[email protected]> --------- Signed-off-by: Chendi.Xue <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Description
Add Assistant API for agent
Issues
#365
Type of change
List the type of change like below. Please delete options that are not relevant.
Dependencies
No
Tests
test_agent_langchain.sh