Обновить solutions/69a474cdc46fd26feae69896_Практическое_задание__3__Память_и_подтве/solution.py
This commit is contained in:
+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