Integrate project classroom with teacher and friend consultations
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import type { ManagedReasoningChoice } from './managed-model-capabilities';
|
||||
import type { PublicUsage } from './coding-conversation-contracts';
|
||||
|
||||
export type ConsultationRole = 'teacher' | 'friend';
|
||||
|
||||
export interface TeacherDefinition {
|
||||
schema_version: 1;
|
||||
teacher_id: 'coding-teacher';
|
||||
teacher_id: 'coding-teacher' | 'coding-friend';
|
||||
name: string;
|
||||
description: string;
|
||||
avatar_id: string;
|
||||
@@ -50,6 +52,7 @@ export type TeacherRequestStatus =
|
||||
| 'cancelled'
|
||||
| 'interrupted';
|
||||
export interface TeacherRequest {
|
||||
sourceConversationId?: string;
|
||||
id: string;
|
||||
text: string;
|
||||
references: TeacherReference[];
|
||||
@@ -64,6 +67,7 @@ export interface TeacherRequest {
|
||||
usage?: PublicUsage;
|
||||
}
|
||||
export interface TeacherTopic {
|
||||
role?: ConsultationRole;
|
||||
revision: number;
|
||||
schemaVersion: 1;
|
||||
id: string;
|
||||
@@ -83,6 +87,7 @@ export interface TeacherTopicList {
|
||||
lastSelectedTopicId: string | null;
|
||||
}
|
||||
export interface TeacherSend {
|
||||
sourceConversationId?: string;
|
||||
requestId: string;
|
||||
text: string;
|
||||
references?: TeacherReference[];
|
||||
|
||||
Reference in New Issue
Block a user