Skip to content

Commit 71ddf36

Browse files
authored
Added ChatHistoryAgentThread to multi-agent (#11473)
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [ ] The code builds clean without any errors or warnings - [ ] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄
1 parent 6683aff commit 71ddf36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Build a system of specialized agents that can collaborate:
239239

240240
```python
241241
import asyncio
242-
from semantic_kernel.agents import ChatCompletionAgent
242+
from semantic_kernel.agents import ChatCompletionAgent, ChatHistoryAgentThread
243243
from semantic_kernel.connectors.ai.open_ai import AzureChatCompletion, OpenAIChatCompletion
244244

245245
billing_agent = ChatCompletionAgent(
@@ -262,7 +262,7 @@ triage_agent = ChatCompletionAgent(
262262
plugins=[billing_agent, refund_agent],
263263
)
264264

265-
thread: None
265+
thread: ChatHistoryAgentThread = None
266266

267267
async def main() -> None:
268268
print("Welcome to the chat bot!\n Type 'exit' to exit.\n Try to get some billing or refund help.")

0 commit comments

Comments
 (0)