Add teacher microphone and per-question model selection
This commit is contained in:
@@ -45,6 +45,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 (_agentId: string, requestId: string) => {
|
||||
if (current.conversation) current.conversation.seenThrough = requestId;
|
||||
|
||||
Reference in New Issue
Block a user