Merge teacher composer and compact prompt UI into main
This commit is contained in:
commit
2b2d39449c
62 files changed
+2327
-158
No files matched your search
@@ -51,6 +51,7 @@ const sentInputs: TeacherSend[] = [];
|
||||
Object.defineProperty(window, '__teacherReplyInputs', { value: sentInputs });
|
||||
const snapshot = () => { current.revision++; stream.dispatchEvent(new MessageEvent('snapshot', { data: JSON.stringify(current) })); };
|
||||
export const teacherApi = {
|
||||
models: async () => ({ supported: true, models: [{ id: 'deepseek-flash' }, { id: 'test-second-model' }] }),
|
||||
conversation: async () => ({ topic: structuredClone(current), before: null }),
|
||||
seenConversation: async (_projectId: string, _agentId: string, requestId: string) => {
|
||||
if (current.conversation) current.conversation.seenThrough = requestId;
|
||||
|
||||
Reference in new issue
Block a user