@granular-software/sdk 0.4.71 → 0.4.72
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/agent-evals.mjs
CHANGED
|
@@ -24071,6 +24071,9 @@ ${modelOutputInstruction()}`
|
|
|
24071
24071
|
if (typeof options.temperature === "number") {
|
|
24072
24072
|
payload.temperature = options.temperature;
|
|
24073
24073
|
}
|
|
24074
|
+
if (options.reasoningEffort) {
|
|
24075
|
+
payload.reasoning_effort = options.reasoningEffort;
|
|
24076
|
+
}
|
|
24074
24077
|
let lastError = null;
|
|
24075
24078
|
for (let attempt = 1; attempt <= 3; attempt += 1) {
|
|
24076
24079
|
try {
|
|
@@ -26396,6 +26399,7 @@ function createAgentTester(options) {
|
|
|
26396
26399
|
model: options.openai?.model || options.model,
|
|
26397
26400
|
baseUrl: options.openai?.baseUrl,
|
|
26398
26401
|
temperature: options.openai?.temperature,
|
|
26402
|
+
reasoningEffort: options.openai?.reasoningEffort,
|
|
26399
26403
|
headers: options.openai?.headers,
|
|
26400
26404
|
onUsage: async (usage) => {
|
|
26401
26405
|
await granular.recordOpenAIUsageSpend(usage, usage.usageContext);
|