mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-11 05:31:46 +02:00
Bound candidate Product E2E provider execution to two minutes
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
a978d1bc54
commit
97bd3112de
2 files changed
+2
-1
No files matched your search
@@ -184,6 +184,7 @@ function nativeProfile(input: {
|
||||
return commonAgent(buildInput, input.id, "paperclip_runner", {
|
||||
provider: input.provider,
|
||||
model: input.model,
|
||||
...(input.qualificationCandidate ? { timeoutSec: 120 } : {}),
|
||||
lifecycleMode: "per_turn",
|
||||
idleTimeoutMs: 300_000,
|
||||
...permissionConfig,
|
||||
|
||||
@@ -24,7 +24,7 @@ describe("extended ACP harness qualification", () => {
|
||||
expect(profile.modelQualification.source).toBe("candidate_runner_profile");
|
||||
const secretRef = { type: "secret_ref" as const, secretId: "11111111-1111-4111-8111-111111111111", version: "latest" as const };
|
||||
const payload = profile.buildAgent({ executionId: "fixture", environmentId: "local", environmentFixtureId: "local", workspacePath: "/tmp/workspace", secretRefs: { [profile.credential]: secretRef } });
|
||||
expect(payload.adapterConfig).toMatchObject({ provider: "acpx", model: profile.model, acpxAgent: profile.qualificationCandidate, env: { [profile.credential]: secretRef } });
|
||||
expect(payload.adapterConfig).toMatchObject({ provider: "acpx", model: profile.model, timeoutSec: 120, acpxAgent: profile.qualificationCandidate, env: { [profile.credential]: secretRef } });
|
||||
}
|
||||
});
|
||||
it("replaces ambient admission with the selected exact pairs and strips raw provider credentials from server", () => {
|
||||
|
||||
Reference in new issue
Block a user