Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/opencode_a2a/execution/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
_TTLCache,
)
from .tool_error_mapping import build_tool_error, map_a2a_tool_exception
from .upstream_errors import (
from .upstream_error_translator import (
_await_stream_terminal_signal,
_extract_upstream_error_detail,
_format_inband_upstream_error,
Expand Down
2 changes: 1 addition & 1 deletion src/opencode_a2a/execution/stream_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from a2a.types import TaskState

from .stream_state import BlockType
from .upstream_errors import (
from .upstream_error_translator import (
_format_inband_upstream_error,
_format_stream_terminal_error,
_StreamTerminalSignal,
Expand Down
2 changes: 1 addition & 1 deletion src/opencode_a2a/execution/stream_runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
_StreamOutputState,
_StreamPartState,
)
from .upstream_errors import _StreamTerminalSignal
from .upstream_error_translator import _StreamTerminalSignal

logger = logging.getLogger("opencode_a2a.execution.executor")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
import httpx
from a2a.types import TaskState

from ..error_taxonomy import (
from ..opencode_upstream_client import UpstreamContractError
from ..upstream_taxonomy import (
extract_upstream_error_detail as _extract_upstream_error_detail,
)
from ..error_taxonomy import (
from ..upstream_taxonomy import (
resolve_upstream_http_error_profile as _resolve_upstream_error_profile,
)
from ..opencode_upstream_client import UpstreamContractError


@dataclass(frozen=True)
Expand Down
2 changes: 1 addition & 1 deletion src/opencode_a2a/jsonrpc/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
SESSION_QUERY_ERROR_BUSINESS_CODES,
)
from ..opencode_upstream_client import OpencodeUpstreamClient, UpstreamContractError
from .error_mapping import (
from .error_responses import (
interrupt_not_found_error,
invalid_params_error,
method_not_supported_error,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from a2a.types import InvalidParamsError

from opencode_a2a.jsonrpc.error_mapping import (
from opencode_a2a.jsonrpc.error_responses import (
interrupt_not_found_error,
invalid_params_error,
method_not_supported_error,
Expand Down
Loading