e15461febc
- remove bundled snapshot dependency on src/generated in model-core - make shared harness provide runtime bundled snapshot - update guardrail and capability tests to pass explicit snapshot Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
15 lines
374 B
TypeScript
15 lines
374 B
TypeScript
import { SUPPLEMENTAL_MODEL_CAPABILITIES } from "./supplemental-entries"
|
|
import type { ModelCapabilitiesSnapshot } from "./types"
|
|
|
|
export function getBundledModelCapabilitiesSnapshot(
|
|
snapshotJson: ModelCapabilitiesSnapshot,
|
|
): ModelCapabilitiesSnapshot {
|
|
return {
|
|
...snapshotJson,
|
|
models: {
|
|
...snapshotJson.models,
|
|
...SUPPLEMENTAL_MODEL_CAPABILITIES,
|
|
},
|
|
}
|
|
}
|