17 lines
417 B
Python
17 lines
417 B
Python
import asyncio
|
|
from langchain_core.messages import AIMessage, HumanMessage
|
|
from langgraph.graph import StateGraph
|
|
from langgraph.checkpoint.memory import MemorySaver
|
|
|
|
# Simple state with messages list
|
|
class AgentState:
|
|
def __init__(self):
|
|
self.messages = []
|
|
|
|
async def main():
|
|
# Placeholder for stream logic
|
|
print("Stream AI agent placeholder")
|
|
|
|
if __name__ == "__main__":
|
|
asyncio.run(main())
|