We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04c7900 commit f71f6c1Copy full SHA for f71f6c1
src/rai_core/rai/agents/langchain/core/conversational_agent.py
@@ -17,6 +17,7 @@
17
from functools import partial
18
from typing import List, Optional, TypedDict
19
20
+from deprecated import deprecated
21
from langchain.chat_models.base import BaseChatModel
22
from langchain_core.messages import (
23
BaseMessage,
@@ -64,6 +65,10 @@ def agent(
64
65
return state
66
67
68
+@deprecated(
69
+ "Use rai.agents.langchain.core.create_react_runnable instead. "
70
+ "Support for the conversational agent will be removed in the 3.0 release."
71
+)
72
def create_conversational_agent(
73
llm: BaseChatModel,
74
tools: List[BaseTool],
0 commit comments