-
Notifications
You must be signed in to change notification settings - Fork 364
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
Feat/refactor exts #276
Merged
Merged
Feat/refactor exts #276
Conversation
This file contains 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
Contributor
plutoless
commented
Sep 11, 2024
•
edited
Loading
edited
- refactor openai-chatgpt extension
- now async.io is used
- best practices for managing async.io loops
- use async tasks to manage queue processing instead of using timestamps and loops
- merge branches to reuse same code block for chat completion
agents/ten_packages/extension/openai_chatgpt_python/extension.py
Outdated
Show resolved
Hide resolved
agents/ten_packages/extension/openai_chatgpt_python/extension.py
Outdated
Show resolved
Hide resolved
agents/ten_packages/extension/openai_chatgpt_python/extension.py
Outdated
Show resolved
Hide resolved
- remove test code - prevent sending full content again - add queue logic
- chatflow - refactor to simplify flow run - added event emitter for intermedium execution
- change asyncio.queue to AsyncQueue - change the way we abstract chatflow - use eventEmitter for easier tool notification - use queue to ensure task are processed one by one and cancellable
wangyoucao577
approved these changes
Sep 16, 2024
Some description for the PR will be better, so that other people will know what's done here. |
plutoless
added a commit
that referenced
this pull request
Oct 2, 2024
* feat: doc update * Feature/debugging (#271) * feat: upgrade to ten 0.2 * feat: disable auto_start * feat: allow customize build type * feat: add debugging tools * feat: add debugging and build configs * fix: go debugging launch * feat: update image * feat: update version * fix: greeting missed * test: build docker * Revert "test: build docker" This reverts commit 06a4269. --------- Co-authored-by: Jay Zhang <[email protected]> * feat: switch to native env * Feat/refactor exts (#276) * feat: openai extension refactoring * feat: adding refactor code / async.io * feat: fix refactoring bugs * fix: add manifest.json * feat: add queue logic * fix: fix issues - remove test code - prevent sending full content again - add queue logic * feat: fix parseSentence * fix: fix end_segment bug * feat: add chatflow abstraction - chatflow - refactor to simplify flow run - added event emitter for intermedium execution * feat: refactor openai, support multi data-stream data pack * feat: finalize openai extension refactoring - change asyncio.queue to AsyncQueue - change the way we abstract chatflow - use eventEmitter for easier tool notification - use queue to ensure task are processed one by one and cancellable * feat: add docs * feat: don't use private api * feat: support on-demand build * fix: fix type failures * feat: update playground image * feat: separate playground and demo (#282) - support graph reading for playground - support property adjusting * fix: fix table type issue * feat: image update * feat: adjust demo ui * feat: update build image (#301) * feat:use axios instead of fetch * replace all fetch in demo * replace all fetch in playground with axios --------- Co-authored-by: Zhang Qianze <[email protected]> Co-authored-by: Ethan Zhang <[email protected]>
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.