@databricks/ai-sdk-provider 0.4.0 → 0.4.1
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/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -956,6 +956,7 @@ async function convertToResponsesInput({ prompt, systemMessageMode }) {
|
|
|
956
956
|
if (approvalIdsWithToolResult.has(part.approvalId)) continue;
|
|
957
957
|
input.push({
|
|
958
958
|
type: "mcp_approval_response",
|
|
959
|
+
id: part.approvalId,
|
|
959
960
|
approval_request_id: part.approvalId,
|
|
960
961
|
approve: part.approved,
|
|
961
962
|
...part.reason && { reason: part.reason }
|