Spaces:
Build error
Build error
File size: 468 Bytes
873d0cf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
from langchain_core.messages import SystemMessage
try:
from .chat_history import *
from ..llm_settings import first_message
except ImportError:
from agent.chat_history import *
from llm_settings import first_message
def llm_history_oiginal():
return [
SystemMessage(
content=[
{
"type": "text",
"text": first_message(),
}
]
),
]
|