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
@@ -408,7 +408,7 @@ describe("task execution service", () => {
|
||||
dataPolicy: PROVIDER_DATA_POLICY.STANDARD,
|
||||
backgroundEnabled: false,
|
||||
monthlyRequestLimit: 5,
|
||||
workspaceScope: "organization",
|
||||
workspaceScope: "organization", contextWindowTokens: 128_000,
|
||||
});
|
||||
const agentId = organization.createAgent({
|
||||
orgId,
|
||||
@@ -452,7 +452,7 @@ describe("task execution service", () => {
|
||||
dataPolicy: PROVIDER_DATA_POLICY.STANDARD,
|
||||
backgroundEnabled: false,
|
||||
monthlyRequestLimit: 50,
|
||||
workspaceScope: "organization",
|
||||
workspaceScope: "organization", contextWindowTokens: 128_000,
|
||||
}));
|
||||
const enqueued = connection.transaction(() => execution.enqueueHeartbeatRuns());
|
||||
expect(enqueued).toHaveLength(1);
|
||||
|
||||
Reference in new issue
Block a user