diff --git a/contracts/wally-decisions-public-v1.openapi.json b/contracts/wally-decisions-public-v1.openapi.json index 78f243f4..9345113e 100644 --- a/contracts/wally-decisions-public-v1.openapi.json +++ b/contracts/wally-decisions-public-v1.openapi.json @@ -278,10 +278,11 @@ "$ref": "#/components/schemas/ModelId" }, "prompt_format_version": { - "description": "Pins the server-owned prompt wording. Each model serves exactly one version and refuses any other with 400 before anything is billed, so a caller pinning it is told when the wording, and so the probabilities, change. Null or absent takes the model's served version.", + "description": "Pins the server-owned prompt wording. Each model serves one version (two while it moves from one wording to the next) and refuses any other with 400 before anything is billed, so a caller pinning it is told when the wording, and so the probabilities, change. Null or absent takes the model's served version.", "enum": [ 2, 3, + 4, null ], "type": [ @@ -330,10 +331,11 @@ "const": "decisions" }, "prompt_format_version": { - "description": "The prompt wording the answers were computed under: the requested model's one served version.", + "description": "The prompt wording the answers were computed under: the requested model's served version, or, while the model moves from one wording to the next, either of the two.", "enum": [ 2, - 3 + 3, + 4 ] }, "usage": { @@ -1327,11 +1329,11 @@ }, "request": { "path": "public/decisions_request.schema.json", - "sha256": "4ea99e94ed549d4a16592757b9d7aa2ee1c67ff4d9558ce46997438abad26195" + "sha256": "19b58ab4ed78a457c89928cbd62119159efcc95767314cce0da47cb87efa8e4d" }, "response": { "path": "public/decisions_response.schema.json", - "sha256": "68906e2b9bffa33d4f7d910b75665332ca11c248e51f4adab319f8707eb8c2a2" + "sha256": "852563984418b56b7f22cc3d1958f1a321a6ba45e9aece42401ea3628319c2c7" }, "systemone_request": { "path": "public/systemone_request.schema.json", diff --git a/src/account/decisions_contract.rs b/src/account/decisions_contract.rs index 7ab0190e..f8309420 100644 --- a/src/account/decisions_contract.rs +++ b/src/account/decisions_contract.rs @@ -11,7 +11,7 @@ use std::collections::BTreeMap; /// SHA-256 of contracts/wally-decisions-public-v1.openapi.json this file was built from. pub const CONTRACT_SHA256: &str = - "6cd5afaa222e55337dcab1fa4b2bbee2763cea707e18d539a5ca252f6a863d11"; + "2201716c3f8f1ac4e5e70046a33939a631aacd503fa7a7a7539236197af4eb97"; #[derive(Debug, Clone, Copy, PartialEq, Eq, Default)] pub enum ErrorCode { diff --git a/versions.toml b/versions.toml index dc419209..82e2f5d5 100644 --- a/versions.toml +++ b/versions.toml @@ -11,8 +11,8 @@ version = "0.8.10" [contracts] # Vendored from InferenceInfra at this exact revision. -decisions_source_commit = "e60a50df8433426763042a6d947c56754e1894e3" -decisions_contract_sha256 = "6cd5afaa222e55337dcab1fa4b2bbee2763cea707e18d539a5ca252f6a863d11" +decisions_source_commit = "ecd738b2578402933e87560d3d71fb2872a5c614" +decisions_contract_sha256 = "2201716c3f8f1ac4e5e70046a33939a631aacd503fa7a7a7539236197af4eb97" [sdk] # The published C++ desktop kit this tree builds against; bump the SHAs with it.