mirror of https://github.com/aliasrobotics/cai.git
fix test_agent_runner
This commit is contained in:
parent
4ae76ecd29
commit
05fab61056
|
|
@ -6,7 +6,7 @@ from typing import Any
|
|||
import pytest
|
||||
from typing_extensions import TypedDict
|
||||
|
||||
from agents import (
|
||||
from cai.sdk.agents import (
|
||||
Agent,
|
||||
GuardrailFunctionOutput,
|
||||
Handoff,
|
||||
|
|
@ -23,8 +23,8 @@ from agents import (
|
|||
UserError,
|
||||
handoff,
|
||||
)
|
||||
from agents.agent import ToolsToFinalOutputResult
|
||||
from agents.tool import FunctionToolResult, function_tool
|
||||
from cai.sdk.agents.agent import ToolsToFinalOutputResult
|
||||
from cai.sdk.agents.tool import FunctionToolResult, function_tool
|
||||
|
||||
from .fake_model import FakeModel
|
||||
from .test_responses import (
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ from typing import Any
|
|||
import pytest
|
||||
from typing_extensions import TypedDict
|
||||
|
||||
from agents import (
|
||||
from cai.sdk.agents import (
|
||||
Agent,
|
||||
GuardrailFunctionOutput,
|
||||
Handoff,
|
||||
|
|
@ -20,9 +20,9 @@ from agents import (
|
|||
UserError,
|
||||
handoff,
|
||||
)
|
||||
from agents.items import RunItem
|
||||
from agents.run import RunConfig
|
||||
from agents.stream_events import AgentUpdatedStreamEvent
|
||||
from cai.sdk.agents.items import RunItem
|
||||
from cai.sdk.agents.run import RunConfig
|
||||
from cai.sdk.agents.stream_events import AgentUpdatedStreamEvent
|
||||
|
||||
from .fake_model import FakeModel
|
||||
from .test_responses import (
|
||||
|
|
|
|||
Loading…
Reference in New Issue