fix: accept nullable teacher default reasoning effort
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import type { ManagedReasoningChoice } from './managed-model-capabilities';
|
||||
import type { PublicUsage } from './coding-conversation-contracts';
|
||||
|
||||
export interface TeacherDefinition {
|
||||
@@ -17,7 +16,12 @@ export interface TeacherDefinition {
|
||||
instructions_markdown: string;
|
||||
enabled: boolean;
|
||||
}>;
|
||||
model: { model_id: string | null; reasoning_choice: ManagedReasoningChoice };
|
||||
model: {
|
||||
model_id: string | null;
|
||||
reasoning_choice:
|
||||
| { mode: 'default' | 'disabled'; effort?: null }
|
||||
| { mode: 'enabled'; effort?: string | null };
|
||||
};
|
||||
limits: { max_input_tokens: number; max_output_tokens: number };
|
||||
}
|
||||
export interface TeacherAvailability {
|
||||
|
||||
Reference in New Issue
Block a user