Skip to content

Commit

Permalink
fix event logger
Browse files Browse the repository at this point in the history
  • Loading branch information
yanxi0830 committed Sep 24, 2024
1 parent f4cd276 commit 61523ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/llama_stack_client/lib/agents/event_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@

from typing import List, Optional, Union

from llama_stack.types import ToolResponseMessage
from llama_stack.types.agents import AgentsTurnStreamChunk
from llama_stack_client.types import ToolResponseMessage

from llama_stack_client.types.agents import AgentsTurnStreamChunk
from termcolor import cprint


Expand Down
5 changes: 4 additions & 1 deletion src/llama_stack_client/lib/inference/event_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@

from typing import List, Optional, Union

from llama_stack.types import ChatCompletionStreamChunk, InferenceChatCompletionResponse
from llama_stack_client.types import (
ChatCompletionStreamChunk,
InferenceChatCompletionResponse,
)
from termcolor import cprint


Expand Down

0 comments on commit 61523ce

Please sign in to comment.