@oxap/sdk 0.1.0-alpha.36 → 0.1.0-alpha.37

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.
@@ -497,7 +497,7 @@ class OapProviderApi {
497
497
  ...(request.tools?.length ? { tools: request.tools.map((tool) => ({ name: tool.name, description: tool.description, input_schema: parseInputSchema(tool.parameters_schema_json) })) } : {}),
498
498
  ...(request.options?.max_tokens !== undefined ? { max_output_tokens: request.options.max_tokens } : {}),
499
499
  ...(request.options?.temperature !== undefined ? { temperature: request.options.temperature } : {}),
500
- ...(request.options?.reasoning_effort && request.options.reasoning_effort !== "off" ? { reasoning: { enabled: true, effort: request.options.reasoning_effort } } : {}),
500
+ ...(request.options?.reasoning_effort ? { reasoning: { enabled: request.options.reasoning_effort !== "off", effort: request.options.reasoning_effort } } : {}),
501
501
  ...(request.options?.metadata ? { metadata: request.options.metadata } : {}),
502
502
  ...(request.options?.headers && Object.keys(request.options.headers).length ? { headers: request.options.headers } : {}),
503
503
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxap/sdk",
3
- "version": "0.1.0-alpha.36",
3
+ "version": "0.1.0-alpha.37",
4
4
  "description": "TypeScript SDK for the Open Agent Protocol project's runtime, over its stdio protocol",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
@@ -41,6 +41,6 @@
41
41
  "ulid": "^3.0.2"
42
42
  },
43
43
  "optionalDependencies": {
44
- "@oxap/cli": "0.1.0-alpha.36"
44
+ "@oxap/cli": "0.1.0-alpha.37"
45
45
  }
46
46
  }