Skip to content

Commit e2df7c6

Browse files
Change tools to Sequence to fix CI
1 parent 956cd7d commit e2df7c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stackone_ai/toolset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import logging
99
import os
1010
import threading
11-
from collections.abc import Coroutine
11+
from collections.abc import Coroutine, Sequence
1212
from dataclasses import dataclass
1313
from importlib import metadata
1414
from typing import Any, Literal, TypedDict, TypeVar
@@ -696,7 +696,7 @@ def langchain(
696696
*,
697697
mode: Literal["search_and_execute"] | None = None,
698698
account_ids: list[str] | None = None,
699-
) -> list[Any]:
699+
) -> Sequence[Any]:
700700
"""Get tools in LangChain format.
701701
702702
Args:

0 commit comments

Comments
 (0)