Skip to content

Commit

Permalink
Run poe check
Browse files Browse the repository at this point in the history
  • Loading branch information
gagb committed Jan 27, 2025
1 parent 1e94783 commit a7ee98b
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
SystemMessage,
UserMessage,
)
from autogen_core.tools import FunctionTool, BaseTool
from autogen_core.tools import BaseTool, FunctionTool
from pydantic import BaseModel
from typing_extensions import Self

Expand Down Expand Up @@ -388,7 +388,10 @@ async def on_messages_stream(
# Generate an inference result based on the current model context.
llm_messages = self._system_messages + await self._model_context.get_messages()
model_result = await self._model_client.create(
llm_messages, tools=self._tools + self._handoff_tools, extra_create_args=self._extra_create_args, cancellation_token=cancellation_token
llm_messages,
tools=self._tools + self._handoff_tools,
extra_create_args=self._extra_create_args,
cancellation_token=cancellation_token,
)

# Add the response to the model context.
Expand Down

0 comments on commit a7ee98b

Please sign in to comment.