chore(vendor): import pi 1.3.0
Imported as a linear vendor commit so forge rebases do not replay the upstream root tree. git-subtree-dir: third_party/pi git-subtree-split: 71023aec1546d6d677a65669c5665c0927ce0dd0
This commit is contained in:
1 parent
719370c8f7
commit
6081e3e325
1743 files changed
+205459
-131704
No files matched your search
@@ -89,20 +89,6 @@ describe("Anthropic forceAdaptiveThinking compat override", () => {
|
||||
expect(payload.output_config).toEqual({ effort: "xhigh" });
|
||||
});
|
||||
|
||||
it.each([
|
||||
["kimi-for-coding", "medium", "medium"],
|
||||
["k3", "max", "max"],
|
||||
["kimi-for-coding-highspeed", "medium", "medium"],
|
||||
] as const)(
|
||||
"uses adaptive thinking effort without a token budget for Kimi Coding %s",
|
||||
async (modelId, reasoning, effort) => {
|
||||
const payload = await capturePayload(getModel("kimi-coding", modelId), { reasoning });
|
||||
|
||||
expect(payload.thinking).toEqual({ type: "adaptive", display: "summarized" });
|
||||
expect(payload.output_config).toEqual({ effort });
|
||||
},
|
||||
);
|
||||
|
||||
it("allows built-in adaptive models to opt out with compat.forceAdaptiveThinking false", async () => {
|
||||
const model: Model<"anthropic-messages"> = {
|
||||
...getModel("anthropic", "claude-opus-4-8"),
|
||||
|
||||
Reference in new issue
Block a user