crosscheck-mcp 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/node-stdio.cjs +7 -1
- package/dist/node-stdio.cjs.map +1 -1
- package/dist/node-stdio.js +7 -1
- package/dist/node-stdio.js.map +1 -1
- package/package.json +1 -1
package/dist/node-stdio.cjs
CHANGED
|
@@ -1809,6 +1809,12 @@ async function sendOpenAICompatible(args) {
|
|
|
1809
1809
|
temperature: args.temperature,
|
|
1810
1810
|
...args.jsonSchema ? { jsonSchema: args.jsonSchema } : {}
|
|
1811
1811
|
});
|
|
1812
|
+
if (args.provider === "openai" && isReasoningModel("openai", args.model) && !/^o1(?:-|$)/i.test(args.model)) {
|
|
1813
|
+
const effort = (process.env["CROSSCHECK_OPENAI_REASONING_EFFORT"] ?? "low").toLowerCase();
|
|
1814
|
+
if (effort === "minimal" || effort === "low" || effort === "medium" || effort === "high") {
|
|
1815
|
+
body.reasoning_effort = effort;
|
|
1816
|
+
}
|
|
1817
|
+
}
|
|
1812
1818
|
const doFetch = args.fetchImpl ?? globalThis.fetch;
|
|
1813
1819
|
const init = {
|
|
1814
1820
|
method: "POST",
|
|
@@ -10728,7 +10734,7 @@ function pingTool() {
|
|
|
10728
10734
|
|
|
10729
10735
|
// src/server.ts
|
|
10730
10736
|
var SERVER_NAME = "crosscheck-agent";
|
|
10731
|
-
var SERVER_VERSION = true ? "0.1.
|
|
10737
|
+
var SERVER_VERSION = true ? "0.1.7" : "0.0.0-dev";
|
|
10732
10738
|
function createServer(opts = {}) {
|
|
10733
10739
|
const server = new import_server2.Server(
|
|
10734
10740
|
{ name: SERVER_NAME, version: SERVER_VERSION },
|