Q83: a model passes an agent check before it does agent work
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4e232b241f
commit
665bf3cae1
35 files changed
+350
-47
No files matched your search
@@ -0,0 +1,15 @@
|
||||
export const modelChecksSchema = `
|
||||
create table model_checks (
|
||||
provider_id text not null references providers(id) on delete cascade,
|
||||
model text not null,
|
||||
credential_id text not null,
|
||||
org_id text not null,
|
||||
passed integer not null,
|
||||
detail text,
|
||||
checked_at text not null,
|
||||
primary key (provider_id, model, credential_id)
|
||||
);
|
||||
|
||||
insert into schema_migrations(version, name, applied_at)
|
||||
values (77, 'model_checks', datetime('now'));
|
||||
`;
|
||||
@@ -75,6 +75,7 @@ import { usageWindowTokensSchema } from "./migrations/073-usage-window-tokens";
|
||||
import { runFailureKindSchema } from "./migrations/074-run-failure-kind";
|
||||
import { providerCooldownsSchema } from "./migrations/075-provider-cooldowns";
|
||||
import { runPinsSchema } from "./migrations/076-run-pins";
|
||||
import { modelChecksSchema } from "./migrations/077-model-checks";
|
||||
|
||||
interface Migration {
|
||||
version: number;
|
||||
@@ -159,6 +160,7 @@ const MIGRATIONS: Migration[] = [
|
||||
{ version: 74, name: "run_failure_kind", sql: runFailureKindSchema },
|
||||
{ version: 75, name: "provider_cooldowns", sql: providerCooldownsSchema },
|
||||
{ version: 76, name: "run_pins", sql: runPinsSchema },
|
||||
{ version: 77, name: "model_checks", sql: modelChecksSchema },
|
||||
];
|
||||
|
||||
const SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1].version;
|
||||
|
||||
Reference in new issue
Block a user