We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 956cd7d commit e2df7c6Copy full SHA for e2df7c6
stackone_ai/toolset.py
@@ -8,7 +8,7 @@
8
import logging
9
import os
10
import threading
11
-from collections.abc import Coroutine
+from collections.abc import Coroutine, Sequence
12
from dataclasses import dataclass
13
from importlib import metadata
14
from typing import Any, Literal, TypedDict, TypeVar
@@ -696,7 +696,7 @@ def langchain(
696
*,
697
mode: Literal["search_and_execute"] | None = None,
698
account_ids: list[str] | None = None,
699
- ) -> list[Any]:
+ ) -> Sequence[Any]:
700
"""Get tools in LangChain format.
701
702
Args:
0 commit comments