forked from CopilotKit/CopilotKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlangchain.py
More file actions
31 lines (29 loc) · 752 Bytes
/
Copy pathlangchain.py
File metadata and controls
31 lines (29 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
"""
copilotkit.langchain is deprecated. Use copilotkit.langgraph instead.
"""
import warnings
from copilotkit.langgraph import (
langchain_messages_to_copilotkit,
copilotkit_messages_to_langchain,
copilotkit_customize_config,
copilotkit_exit,
copilotkit_emit_state,
copilotkit_emit_message,
copilotkit_emit_tool_call,
copilotkit_interrupt,
)
warnings.warn(
"copilotkit.langchain is deprecated. Use copilotkit.langgraph instead.",
DeprecationWarning,
stacklevel=2
)
__all__ = [
"langchain_messages_to_copilotkit",
"copilotkit_messages_to_langchain",
"copilotkit_customize_config",
"copilotkit_exit",
"copilotkit_emit_state",
"copilotkit_emit_message",
"copilotkit_emit_tool_call",
"copilotkit_interrupt",
]