Обновить solutions/69a474cdc46fd26feae69896_Практическое_задание__3__Память_и_подтве/solution.py
This commit is contained in:
1 parent
401541e295
commit
186131a47e
1 file changed
+3
+3
@@ -15,6 +15,9 @@ console = Console()
|
||||
llm = ChatOpenAI(temperature=0.7)
|
||||
|
||||
# Простой инструмент – эхо‑ответ
|
||||
from langchain_core.tools import tool
|
||||
|
||||
@tool
|
||||
def echo_tool(text: str) -> str:
|
||||
"""Возвращает введённый текст."""
|
||||
return text
|
||||
|
||||
Reference in new issue
Block a user