Add contextual teacher help entry and simplify consultation panel
This commit is contained in:
@@ -2,6 +2,7 @@ import type { ManagedReasoningChoice } from './managed-model-capabilities';
|
||||
import type { PublicUsage } from './coding-conversation-contracts';
|
||||
|
||||
export type ConsultationRole = 'teacher' | 'friend';
|
||||
export type TeacherRequestIntent = 'question' | 'suggestions' | 'guided-help';
|
||||
|
||||
export interface TeacherDefinition {
|
||||
schema_version: 1;
|
||||
@@ -52,6 +53,7 @@ export type TeacherRequestStatus =
|
||||
| 'cancelled'
|
||||
| 'interrupted';
|
||||
export interface TeacherRequest {
|
||||
intent?: TeacherRequestIntent;
|
||||
sourceConversationId?: string;
|
||||
id: string;
|
||||
text: string;
|
||||
@@ -63,6 +65,7 @@ export interface TeacherRequest {
|
||||
omittedMessages: number;
|
||||
status: TeacherRequestStatus;
|
||||
response: string;
|
||||
suggestedQuestions?: string[];
|
||||
error?: string;
|
||||
usage?: PublicUsage;
|
||||
}
|
||||
@@ -87,6 +90,7 @@ export interface TeacherTopicList {
|
||||
lastSelectedTopicId: string | null;
|
||||
}
|
||||
export interface TeacherSend {
|
||||
intent?: TeacherRequestIntent;
|
||||
sourceConversationId?: string;
|
||||
requestId: string;
|
||||
text: string;
|
||||
|
||||
Reference in New Issue
Block a user