Q17: budget every model request against the provider's context window
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f42ab62dbd
commit
f4d16eb46a
26 files changed
+247
-52
No files matched your search
@@ -61,6 +61,7 @@ export interface UpdateProviderPolicyInput {
|
||||
backgroundEnabled: boolean;
|
||||
monthlyRequestLimit: number;
|
||||
workspaceScope: "organization" | "workspace";
|
||||
contextWindowTokens: number;
|
||||
}
|
||||
|
||||
export interface CreateProviderResponseInput {
|
||||
|
||||
@@ -19,6 +19,8 @@ export interface ResolveAgentSkillsInput {
|
||||
orgId: string;
|
||||
agentId: string;
|
||||
runId: string;
|
||||
/** Token budget for the compiled skills. */
|
||||
maxTokens: number;
|
||||
}
|
||||
|
||||
export interface RunSkillTestsInput {
|
||||
|
||||
@@ -284,6 +284,8 @@ export interface ProviderRecord {
|
||||
backgroundEnabled: boolean;
|
||||
monthlyRequestLimit: number;
|
||||
workspaceScope: string;
|
||||
/** Model context window the run budget is computed against. */
|
||||
contextWindowTokens: number;
|
||||
createdAt: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user