chat sessions in project view
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { useState, useCallback, useRef } from 'react';
|
||||
import { streamMessage } from '../api/orchestration';
|
||||
import { streamMessage, updateSession } from '../api/orchestration';
|
||||
|
||||
export function useChat({ activeSession, appendMessage, updateLastMessage, refreshSessions }) {
|
||||
const [streaming, setStreaming] = useState(false);
|
||||
|
||||
Reference in New Issue
Block a user