-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add UnboundedBufferedChatCompletionContext to mimic pervious model_co…
…ntext behaviour on AssistantAgent
- Loading branch information
1 parent
8cb546f
commit fc6c184
Showing
3 changed files
with
49 additions
and
7 deletions.
There are no files selected for viewing
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
6 changes: 5 additions & 1 deletion
6
python/packages/autogen-core/src/autogen_core/model_context/__init__.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
from ._buffered_chat_completion_context import BufferedChatCompletionContext | ||
from ._buffered_chat_completion_context import ( | ||
BufferedChatCompletionContext, | ||
UnboundedBufferedChatCompletionContext, | ||
) | ||
from ._chat_completion_context import ChatCompletionContext | ||
from ._head_and_tail_chat_completion_context import HeadAndTailChatCompletionContext | ||
|
||
__all__ = [ | ||
"ChatCompletionContext", | ||
"UnboundedBufferedChatCompletionContext", | ||
"BufferedChatCompletionContext", | ||
"HeadAndTailChatCompletionContext", | ||
] |
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