@keystrokehq/openai 0.1.2 → 0.1.4
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/actions/add-upload-part.cjs +1 -1
- package/dist/actions/add-upload-part.cjs.map +1 -1
- package/dist/actions/add-upload-part.d.cts +1 -1
- package/dist/actions/add-upload-part.d.mts +1 -1
- package/dist/actions/add-upload-part.mjs +1 -1
- package/dist/actions/add-upload-part.mjs.map +1 -1
- package/dist/actions/cancel-batch.cjs +6 -6
- package/dist/actions/cancel-batch.cjs.map +1 -1
- package/dist/actions/cancel-batch.d.cts +10 -10
- package/dist/actions/cancel-batch.d.mts +10 -10
- package/dist/actions/cancel-batch.mjs +6 -6
- package/dist/actions/cancel-batch.mjs.map +1 -1
- package/dist/actions/cancel-eval-run.cjs +8 -8
- package/dist/actions/cancel-eval-run.cjs.map +1 -1
- package/dist/actions/cancel-eval-run.d.cts +8 -8
- package/dist/actions/cancel-eval-run.d.mts +8 -8
- package/dist/actions/cancel-eval-run.mjs +8 -8
- package/dist/actions/cancel-eval-run.mjs.map +1 -1
- package/dist/actions/cancel-response.cjs +11 -11
- package/dist/actions/cancel-response.cjs.map +1 -1
- package/dist/actions/cancel-response.d.cts +11 -11
- package/dist/actions/cancel-response.d.mts +11 -11
- package/dist/actions/cancel-response.mjs +11 -11
- package/dist/actions/cancel-response.mjs.map +1 -1
- package/dist/actions/cancel-run.cjs +7 -7
- package/dist/actions/cancel-run.cjs.map +1 -1
- package/dist/actions/cancel-run.d.cts +11 -11
- package/dist/actions/cancel-run.d.mts +11 -11
- package/dist/actions/cancel-run.mjs +7 -7
- package/dist/actions/cancel-run.mjs.map +1 -1
- package/dist/actions/cancel-upload.cjs +2 -2
- package/dist/actions/cancel-upload.cjs.map +1 -1
- package/dist/actions/cancel-upload.d.cts +3 -3
- package/dist/actions/cancel-upload.d.mts +3 -3
- package/dist/actions/cancel-upload.mjs +2 -2
- package/dist/actions/cancel-upload.mjs.map +1 -1
- package/dist/actions/compact-response.cjs +9 -9
- package/dist/actions/compact-response.cjs.map +1 -1
- package/dist/actions/compact-response.d.cts +11 -9
- package/dist/actions/compact-response.d.mts +11 -9
- package/dist/actions/compact-response.mjs +9 -9
- package/dist/actions/compact-response.mjs.map +1 -1
- package/dist/actions/create-audio-transcription.cjs +3 -3
- package/dist/actions/create-audio-transcription.cjs.map +1 -1
- package/dist/actions/create-audio-transcription.d.cts +3 -3
- package/dist/actions/create-audio-transcription.d.mts +3 -3
- package/dist/actions/create-audio-transcription.mjs +3 -3
- package/dist/actions/create-audio-transcription.mjs.map +1 -1
- package/dist/actions/create-audio-translation.cjs +1 -1
- package/dist/actions/create-audio-translation.cjs.map +1 -1
- package/dist/actions/create-audio-translation.d.cts +1 -1
- package/dist/actions/create-audio-translation.d.mts +1 -1
- package/dist/actions/create-audio-translation.mjs +1 -1
- package/dist/actions/create-audio-translation.mjs.map +1 -1
- package/dist/actions/create-batch.cjs +9 -9
- package/dist/actions/create-batch.cjs.map +1 -1
- package/dist/actions/create-batch.d.cts +14 -14
- package/dist/actions/create-batch.d.mts +14 -14
- package/dist/actions/create-batch.mjs +9 -9
- package/dist/actions/create-batch.mjs.map +1 -1
- package/dist/actions/create-chat-completion.cjs +13 -13
- package/dist/actions/create-chat-completion.cjs.map +1 -1
- package/dist/actions/create-chat-completion.d.cts +19 -16
- package/dist/actions/create-chat-completion.d.mts +19 -16
- package/dist/actions/create-chat-completion.mjs +13 -13
- package/dist/actions/create-chat-completion.mjs.map +1 -1
- package/dist/actions/create-completion.cjs +9 -9
- package/dist/actions/create-completion.cjs.map +1 -1
- package/dist/actions/create-completion.d.cts +12 -12
- package/dist/actions/create-completion.d.mts +12 -12
- package/dist/actions/create-completion.mjs +9 -9
- package/dist/actions/create-completion.mjs.map +1 -1
- package/dist/actions/create-container-file.cjs +1 -1
- package/dist/actions/create-container-file.cjs.map +1 -1
- package/dist/actions/create-container-file.d.cts +1 -1
- package/dist/actions/create-container-file.d.mts +1 -1
- package/dist/actions/create-container-file.mjs +1 -1
- package/dist/actions/create-container-file.mjs.map +1 -1
- package/dist/actions/create-container.cjs +8 -8
- package/dist/actions/create-container.cjs.map +1 -1
- package/dist/actions/create-container.d.cts +13 -9
- package/dist/actions/create-container.d.cts.map +1 -1
- package/dist/actions/create-container.d.mts +13 -9
- package/dist/actions/create-container.d.mts.map +1 -1
- package/dist/actions/create-container.mjs +8 -8
- package/dist/actions/create-container.mjs.map +1 -1
- package/dist/actions/create-conversation-items.cjs +4 -4
- package/dist/actions/create-conversation-items.cjs.map +1 -1
- package/dist/actions/create-conversation-items.d.cts +6 -4
- package/dist/actions/create-conversation-items.d.cts.map +1 -1
- package/dist/actions/create-conversation-items.d.mts +6 -4
- package/dist/actions/create-conversation-items.d.mts.map +1 -1
- package/dist/actions/create-conversation-items.mjs +4 -4
- package/dist/actions/create-conversation-items.mjs.map +1 -1
- package/dist/actions/create-conversation.cjs +3 -3
- package/dist/actions/create-conversation.cjs.map +1 -1
- package/dist/actions/create-conversation.d.cts +5 -4
- package/dist/actions/create-conversation.d.cts.map +1 -1
- package/dist/actions/create-conversation.d.mts +5 -4
- package/dist/actions/create-conversation.d.mts.map +1 -1
- package/dist/actions/create-conversation.mjs +3 -3
- package/dist/actions/create-conversation.mjs.map +1 -1
- package/dist/actions/create-embeddings.cjs +3 -3
- package/dist/actions/create-embeddings.cjs.map +1 -1
- package/dist/actions/create-embeddings.d.cts +4 -4
- package/dist/actions/create-embeddings.d.mts +4 -4
- package/dist/actions/create-embeddings.mjs +3 -3
- package/dist/actions/create-embeddings.mjs.map +1 -1
- package/dist/actions/create-eval-run.cjs +19 -19
- package/dist/actions/create-eval-run.cjs.map +1 -1
- package/dist/actions/create-eval-run.d.cts +32 -23
- package/dist/actions/create-eval-run.d.mts +32 -23
- package/dist/actions/create-eval-run.mjs +19 -19
- package/dist/actions/create-eval-run.mjs.map +1 -1
- package/dist/actions/create-eval.cjs +10 -10
- package/dist/actions/create-eval.cjs.map +1 -1
- package/dist/actions/create-eval.d.cts +19 -10
- package/dist/actions/create-eval.d.mts +19 -10
- package/dist/actions/create-eval.mjs +10 -10
- package/dist/actions/create-eval.mjs.map +1 -1
- package/dist/actions/create-fine-tuning-job.cjs +4 -4
- package/dist/actions/create-fine-tuning-job.cjs.map +1 -1
- package/dist/actions/create-fine-tuning-job.d.cts +5 -5
- package/dist/actions/create-fine-tuning-job.d.mts +5 -5
- package/dist/actions/create-fine-tuning-job.mjs +4 -4
- package/dist/actions/create-fine-tuning-job.mjs.map +1 -1
- package/dist/actions/create-image-edit.cjs +5 -5
- package/dist/actions/create-image-edit.cjs.map +1 -1
- package/dist/actions/create-image-edit.d.cts +9 -8
- package/dist/actions/create-image-edit.d.mts +9 -8
- package/dist/actions/create-image-edit.mjs +5 -5
- package/dist/actions/create-image-edit.mjs.map +1 -1
- package/dist/actions/create-image-variation.cjs +2 -2
- package/dist/actions/create-image-variation.cjs.map +1 -1
- package/dist/actions/create-image-variation.d.cts +2 -2
- package/dist/actions/create-image-variation.d.mts +2 -2
- package/dist/actions/create-image-variation.mjs +2 -2
- package/dist/actions/create-image-variation.mjs.map +1 -1
- package/dist/actions/create-image.cjs +4 -4
- package/dist/actions/create-image.cjs.map +1 -1
- package/dist/actions/create-image.d.cts +6 -6
- package/dist/actions/create-image.d.mts +6 -6
- package/dist/actions/create-image.mjs +4 -4
- package/dist/actions/create-image.mjs.map +1 -1
- package/dist/actions/create-message.cjs +13 -13
- package/dist/actions/create-message.cjs.map +1 -1
- package/dist/actions/create-message.d.cts +17 -14
- package/dist/actions/create-message.d.cts.map +1 -1
- package/dist/actions/create-message.d.mts +17 -14
- package/dist/actions/create-message.d.mts.map +1 -1
- package/dist/actions/create-message.mjs +13 -13
- package/dist/actions/create-message.mjs.map +1 -1
- package/dist/actions/create-moderation.cjs +7 -7
- package/dist/actions/create-moderation.cjs.map +1 -1
- package/dist/actions/create-moderation.d.cts +9 -8
- package/dist/actions/create-moderation.d.cts.map +1 -1
- package/dist/actions/create-moderation.d.mts +9 -8
- package/dist/actions/create-moderation.d.mts.map +1 -1
- package/dist/actions/create-moderation.mjs +7 -7
- package/dist/actions/create-moderation.mjs.map +1 -1
- package/dist/actions/create-realtime-call.cjs +1 -1
- package/dist/actions/create-realtime-call.cjs.map +1 -1
- package/dist/actions/create-realtime-call.d.cts +1 -1
- package/dist/actions/create-realtime-call.d.mts +1 -1
- package/dist/actions/create-realtime-call.mjs +1 -1
- package/dist/actions/create-realtime-call.mjs.map +1 -1
- package/dist/actions/create-realtime-client-secret.cjs +3 -3
- package/dist/actions/create-realtime-client-secret.cjs.map +1 -1
- package/dist/actions/create-realtime-client-secret.d.cts +5 -3
- package/dist/actions/create-realtime-client-secret.d.mts +5 -3
- package/dist/actions/create-realtime-client-secret.mjs +3 -3
- package/dist/actions/create-realtime-client-secret.mjs.map +1 -1
- package/dist/actions/create-realtime-session.cjs +6 -6
- package/dist/actions/create-realtime-session.cjs.map +1 -1
- package/dist/actions/create-realtime-session.d.cts +10 -6
- package/dist/actions/create-realtime-session.d.mts +10 -6
- package/dist/actions/create-realtime-session.mjs +6 -6
- package/dist/actions/create-realtime-session.mjs.map +1 -1
- package/dist/actions/create-realtime-transcription-session.cjs +4 -4
- package/dist/actions/create-realtime-transcription-session.cjs.map +1 -1
- package/dist/actions/create-realtime-transcription-session.d.cts +4 -4
- package/dist/actions/create-realtime-transcription-session.d.mts +4 -4
- package/dist/actions/create-realtime-transcription-session.mjs +4 -4
- package/dist/actions/create-realtime-transcription-session.mjs.map +1 -1
- package/dist/actions/create-response.cjs +15 -15
- package/dist/actions/create-response.cjs.map +1 -1
- package/dist/actions/create-response.d.cts +28 -18
- package/dist/actions/create-response.d.mts +28 -18
- package/dist/actions/create-response.mjs +15 -15
- package/dist/actions/create-response.mjs.map +1 -1
- package/dist/actions/create-run.cjs +24 -24
- package/dist/actions/create-run.cjs.map +1 -1
- package/dist/actions/create-run.d.cts +36 -31
- package/dist/actions/create-run.d.mts +36 -31
- package/dist/actions/create-run.mjs +24 -24
- package/dist/actions/create-run.mjs.map +1 -1
- package/dist/actions/create-skill.cjs +3 -3
- package/dist/actions/create-skill.cjs.map +1 -1
- package/dist/actions/create-skill.d.cts +5 -3
- package/dist/actions/create-skill.d.mts +5 -3
- package/dist/actions/create-skill.mjs +3 -3
- package/dist/actions/create-skill.mjs.map +1 -1
- package/dist/actions/create-speech.cjs +2 -2
- package/dist/actions/create-speech.cjs.map +1 -1
- package/dist/actions/create-speech.d.cts +2 -2
- package/dist/actions/create-speech.d.mts +2 -2
- package/dist/actions/create-speech.mjs +2 -2
- package/dist/actions/create-speech.mjs.map +1 -1
- package/dist/actions/create-thread-and-run.cjs +29 -29
- package/dist/actions/create-thread-and-run.cjs.map +1 -1
- package/dist/actions/create-thread-and-run.d.cts +46 -39
- package/dist/actions/create-thread-and-run.d.mts +46 -39
- package/dist/actions/create-thread-and-run.mjs +29 -29
- package/dist/actions/create-thread-and-run.mjs.map +1 -1
- package/dist/actions/create-thread.cjs +5 -5
- package/dist/actions/create-thread.cjs.map +1 -1
- package/dist/actions/create-thread.d.cts +7 -6
- package/dist/actions/create-thread.d.cts.map +1 -1
- package/dist/actions/create-thread.d.mts +7 -6
- package/dist/actions/create-thread.d.mts.map +1 -1
- package/dist/actions/create-thread.mjs +5 -5
- package/dist/actions/create-thread.mjs.map +1 -1
- package/dist/actions/create-upload.cjs +2 -2
- package/dist/actions/create-upload.cjs.map +1 -1
- package/dist/actions/create-upload.d.cts +3 -3
- package/dist/actions/create-upload.d.mts +3 -3
- package/dist/actions/create-upload.mjs +2 -2
- package/dist/actions/create-upload.mjs.map +1 -1
- package/dist/actions/create-vector-store-file-batch.cjs +11 -11
- package/dist/actions/create-vector-store-file-batch.cjs.map +1 -1
- package/dist/actions/create-vector-store-file-batch.d.cts +21 -14
- package/dist/actions/create-vector-store-file-batch.d.cts.map +1 -1
- package/dist/actions/create-vector-store-file-batch.d.mts +21 -14
- package/dist/actions/create-vector-store-file-batch.d.mts.map +1 -1
- package/dist/actions/create-vector-store-file-batch.mjs +11 -11
- package/dist/actions/create-vector-store-file-batch.mjs.map +1 -1
- package/dist/actions/create-vector-store-file.cjs +7 -7
- package/dist/actions/create-vector-store-file.cjs.map +1 -1
- package/dist/actions/create-vector-store-file.d.cts +11 -8
- package/dist/actions/create-vector-store-file.d.mts +11 -8
- package/dist/actions/create-vector-store-file.mjs +7 -7
- package/dist/actions/create-vector-store-file.mjs.map +1 -1
- package/dist/actions/create-vector-store.cjs +8 -8
- package/dist/actions/create-vector-store.cjs.map +1 -1
- package/dist/actions/create-vector-store.d.cts +12 -9
- package/dist/actions/create-vector-store.d.mts +12 -9
- package/dist/actions/create-vector-store.mjs +8 -8
- package/dist/actions/create-vector-store.mjs.map +1 -1
- package/dist/actions/create-video-remix.cjs +2 -2
- package/dist/actions/create-video-remix.cjs.map +1 -1
- package/dist/actions/create-video-remix.d.cts +3 -3
- package/dist/actions/create-video-remix.d.mts +3 -3
- package/dist/actions/create-video-remix.mjs +2 -2
- package/dist/actions/create-video-remix.mjs.map +1 -1
- package/dist/actions/create-video.cjs +2 -2
- package/dist/actions/create-video.cjs.map +1 -1
- package/dist/actions/create-video.d.cts +2 -2
- package/dist/actions/create-video.d.mts +2 -2
- package/dist/actions/create-video.mjs +2 -2
- package/dist/actions/create-video.mjs.map +1 -1
- package/dist/actions/delete-assistant.cjs +1 -1
- package/dist/actions/delete-assistant.cjs.map +1 -1
- package/dist/actions/delete-assistant.d.cts +1 -1
- package/dist/actions/delete-assistant.d.mts +1 -1
- package/dist/actions/delete-assistant.mjs +1 -1
- package/dist/actions/delete-assistant.mjs.map +1 -1
- package/dist/actions/delete-chat-completion.cjs +1 -1
- package/dist/actions/delete-chat-completion.cjs.map +1 -1
- package/dist/actions/delete-chat-completion.d.cts +1 -1
- package/dist/actions/delete-chat-completion.d.mts +1 -1
- package/dist/actions/delete-chat-completion.mjs +1 -1
- package/dist/actions/delete-chat-completion.mjs.map +1 -1
- package/dist/actions/delete-container-file.cjs +1 -1
- package/dist/actions/delete-container-file.cjs.map +1 -1
- package/dist/actions/delete-container-file.d.cts +1 -1
- package/dist/actions/delete-container-file.d.mts +1 -1
- package/dist/actions/delete-container-file.mjs +1 -1
- package/dist/actions/delete-container-file.mjs.map +1 -1
- package/dist/actions/delete-container.cjs +1 -1
- package/dist/actions/delete-container.cjs.map +1 -1
- package/dist/actions/delete-container.d.cts +1 -1
- package/dist/actions/delete-container.d.mts +1 -1
- package/dist/actions/delete-container.mjs +1 -1
- package/dist/actions/delete-container.mjs.map +1 -1
- package/dist/actions/delete-conversation-item.cjs +1 -1
- package/dist/actions/delete-conversation-item.cjs.map +1 -1
- package/dist/actions/delete-conversation-item.d.cts +1 -1
- package/dist/actions/delete-conversation-item.d.mts +1 -1
- package/dist/actions/delete-conversation-item.mjs +1 -1
- package/dist/actions/delete-conversation-item.mjs.map +1 -1
- package/dist/actions/delete-conversation.cjs +1 -1
- package/dist/actions/delete-conversation.cjs.map +1 -1
- package/dist/actions/delete-conversation.d.cts +1 -1
- package/dist/actions/delete-conversation.d.mts +1 -1
- package/dist/actions/delete-conversation.mjs +1 -1
- package/dist/actions/delete-conversation.mjs.map +1 -1
- package/dist/actions/delete-eval-run.cjs +1 -1
- package/dist/actions/delete-eval-run.cjs.map +1 -1
- package/dist/actions/delete-eval-run.d.cts +1 -1
- package/dist/actions/delete-eval-run.d.mts +1 -1
- package/dist/actions/delete-eval-run.mjs +1 -1
- package/dist/actions/delete-eval-run.mjs.map +1 -1
- package/dist/actions/delete-eval.cjs +1 -1
- package/dist/actions/delete-eval.cjs.map +1 -1
- package/dist/actions/delete-eval.d.cts +1 -1
- package/dist/actions/delete-eval.d.mts +1 -1
- package/dist/actions/delete-eval.mjs +1 -1
- package/dist/actions/delete-eval.mjs.map +1 -1
- package/dist/actions/delete-file.cjs +1 -1
- package/dist/actions/delete-file.cjs.map +1 -1
- package/dist/actions/delete-file.d.cts +1 -1
- package/dist/actions/delete-file.d.mts +1 -1
- package/dist/actions/delete-file.mjs +1 -1
- package/dist/actions/delete-file.mjs.map +1 -1
- package/dist/actions/delete-message.cjs +1 -1
- package/dist/actions/delete-message.cjs.map +1 -1
- package/dist/actions/delete-message.d.cts +1 -1
- package/dist/actions/delete-message.d.mts +1 -1
- package/dist/actions/delete-message.mjs +1 -1
- package/dist/actions/delete-message.mjs.map +1 -1
- package/dist/actions/delete-response.cjs +1 -1
- package/dist/actions/delete-response.cjs.map +1 -1
- package/dist/actions/delete-response.d.cts +1 -1
- package/dist/actions/delete-response.d.mts +1 -1
- package/dist/actions/delete-response.mjs +1 -1
- package/dist/actions/delete-response.mjs.map +1 -1
- package/dist/actions/delete-skill.cjs +1 -1
- package/dist/actions/delete-skill.cjs.map +1 -1
- package/dist/actions/delete-skill.d.cts +1 -1
- package/dist/actions/delete-skill.d.mts +1 -1
- package/dist/actions/delete-skill.mjs +1 -1
- package/dist/actions/delete-skill.mjs.map +1 -1
- package/dist/actions/delete-thread.cjs +1 -1
- package/dist/actions/delete-thread.cjs.map +1 -1
- package/dist/actions/delete-thread.d.cts +1 -1
- package/dist/actions/delete-thread.d.mts +1 -1
- package/dist/actions/delete-thread.mjs +1 -1
- package/dist/actions/delete-thread.mjs.map +1 -1
- package/dist/actions/delete-vector-store-file.cjs +1 -1
- package/dist/actions/delete-vector-store-file.cjs.map +1 -1
- package/dist/actions/delete-vector-store-file.d.cts +1 -1
- package/dist/actions/delete-vector-store-file.d.mts +1 -1
- package/dist/actions/delete-vector-store-file.mjs +1 -1
- package/dist/actions/delete-vector-store-file.mjs.map +1 -1
- package/dist/actions/delete-vector-store.cjs +1 -1
- package/dist/actions/delete-vector-store.cjs.map +1 -1
- package/dist/actions/delete-vector-store.d.cts +1 -1
- package/dist/actions/delete-vector-store.d.mts +1 -1
- package/dist/actions/delete-vector-store.mjs +1 -1
- package/dist/actions/delete-vector-store.mjs.map +1 -1
- package/dist/actions/delete-video.cjs +1 -1
- package/dist/actions/delete-video.cjs.map +1 -1
- package/dist/actions/delete-video.d.cts +1 -1
- package/dist/actions/delete-video.d.mts +1 -1
- package/dist/actions/delete-video.mjs +1 -1
- package/dist/actions/delete-video.mjs.map +1 -1
- package/dist/actions/download-file.cjs +2 -2
- package/dist/actions/download-file.cjs.map +1 -1
- package/dist/actions/download-file.d.cts +2 -2
- package/dist/actions/download-file.d.mts +2 -2
- package/dist/actions/download-file.mjs +2 -2
- package/dist/actions/download-file.mjs.map +1 -1
- package/dist/actions/download-video.cjs +2 -2
- package/dist/actions/download-video.cjs.map +1 -1
- package/dist/actions/download-video.d.cts +2 -2
- package/dist/actions/download-video.d.mts +2 -2
- package/dist/actions/download-video.mjs +2 -2
- package/dist/actions/download-video.mjs.map +1 -1
- package/dist/actions/get-chat-completion-messages.cjs +2 -2
- package/dist/actions/get-chat-completion-messages.cjs.map +1 -1
- package/dist/actions/get-chat-completion-messages.d.cts +2 -2
- package/dist/actions/get-chat-completion-messages.d.mts +2 -2
- package/dist/actions/get-chat-completion-messages.mjs +2 -2
- package/dist/actions/get-chat-completion-messages.mjs.map +1 -1
- package/dist/actions/get-chat-completion.cjs +7 -7
- package/dist/actions/get-chat-completion.cjs.map +1 -1
- package/dist/actions/get-chat-completion.d.cts +7 -7
- package/dist/actions/get-chat-completion.d.mts +7 -7
- package/dist/actions/get-chat-completion.mjs +7 -7
- package/dist/actions/get-chat-completion.mjs.map +1 -1
- package/dist/actions/get-chatkit-thread.cjs +4 -4
- package/dist/actions/get-chatkit-thread.cjs.map +1 -1
- package/dist/actions/get-chatkit-thread.d.cts +4 -4
- package/dist/actions/get-chatkit-thread.d.mts +4 -4
- package/dist/actions/get-chatkit-thread.mjs +4 -4
- package/dist/actions/get-chatkit-thread.mjs.map +1 -1
- package/dist/actions/get-conversation-item.cjs +1 -1
- package/dist/actions/get-conversation-item.cjs.map +1 -1
- package/dist/actions/get-conversation-item.d.cts +1 -1
- package/dist/actions/get-conversation-item.d.mts +1 -1
- package/dist/actions/get-conversation-item.mjs +1 -1
- package/dist/actions/get-conversation-item.mjs.map +1 -1
- package/dist/actions/get-eval-run-output-item.cjs +5 -5
- package/dist/actions/get-eval-run-output-item.cjs.map +1 -1
- package/dist/actions/get-eval-run-output-item.d.cts +5 -5
- package/dist/actions/get-eval-run-output-item.d.mts +5 -5
- package/dist/actions/get-eval-run-output-item.mjs +5 -5
- package/dist/actions/get-eval-run-output-item.mjs.map +1 -1
- package/dist/actions/get-eval-run-output-items.cjs +6 -6
- package/dist/actions/get-eval-run-output-items.cjs.map +1 -1
- package/dist/actions/get-eval-run-output-items.d.cts +7 -7
- package/dist/actions/get-eval-run-output-items.d.mts +7 -7
- package/dist/actions/get-eval-run-output-items.mjs +6 -6
- package/dist/actions/get-eval-run-output-items.mjs.map +1 -1
- package/dist/actions/get-eval-run.cjs +10 -10
- package/dist/actions/get-eval-run.cjs.map +1 -1
- package/dist/actions/get-eval-run.d.cts +14 -14
- package/dist/actions/get-eval-run.d.mts +14 -14
- package/dist/actions/get-eval-run.mjs +10 -10
- package/dist/actions/get-eval-run.mjs.map +1 -1
- package/dist/actions/get-eval-runs.cjs +6 -6
- package/dist/actions/get-eval-runs.cjs.map +1 -1
- package/dist/actions/get-eval-runs.d.cts +8 -8
- package/dist/actions/get-eval-runs.d.mts +8 -8
- package/dist/actions/get-eval-runs.mjs +6 -6
- package/dist/actions/get-eval-runs.mjs.map +1 -1
- package/dist/actions/get-eval.cjs +1 -1
- package/dist/actions/get-eval.cjs.map +1 -1
- package/dist/actions/get-eval.d.cts +1 -1
- package/dist/actions/get-eval.d.mts +1 -1
- package/dist/actions/get-eval.mjs +1 -1
- package/dist/actions/get-eval.mjs.map +1 -1
- package/dist/actions/get-input-token-counts.cjs +1 -1
- package/dist/actions/get-input-token-counts.cjs.map +1 -1
- package/dist/actions/get-input-token-counts.d.cts +1 -1
- package/dist/actions/get-input-token-counts.d.mts +1 -1
- package/dist/actions/get-input-token-counts.mjs +1 -1
- package/dist/actions/get-input-token-counts.mjs.map +1 -1
- package/dist/actions/get-message.cjs +9 -9
- package/dist/actions/get-message.cjs.map +1 -1
- package/dist/actions/get-message.d.cts +9 -9
- package/dist/actions/get-message.d.mts +9 -9
- package/dist/actions/get-message.mjs +9 -9
- package/dist/actions/get-message.mjs.map +1 -1
- package/dist/actions/get-response.cjs +9 -9
- package/dist/actions/get-response.cjs.map +1 -1
- package/dist/actions/get-response.d.cts +9 -9
- package/dist/actions/get-response.d.mts +9 -9
- package/dist/actions/get-response.mjs +9 -9
- package/dist/actions/get-response.mjs.map +1 -1
- package/dist/actions/get-run-step.cjs +15 -15
- package/dist/actions/get-run-step.cjs.map +1 -1
- package/dist/actions/get-run-step.d.cts +16 -16
- package/dist/actions/get-run-step.d.mts +16 -16
- package/dist/actions/get-run-step.mjs +15 -15
- package/dist/actions/get-run-step.mjs.map +1 -1
- package/dist/actions/get-vector-store-file-batch.cjs +2 -2
- package/dist/actions/get-vector-store-file-batch.cjs.map +1 -1
- package/dist/actions/get-vector-store-file-batch.d.cts +3 -3
- package/dist/actions/get-vector-store-file-batch.d.mts +3 -3
- package/dist/actions/get-vector-store-file-batch.mjs +2 -2
- package/dist/actions/get-vector-store-file-batch.mjs.map +1 -1
- package/dist/actions/get-vector-store-file.cjs +4 -4
- package/dist/actions/get-vector-store-file.cjs.map +1 -1
- package/dist/actions/get-vector-store-file.d.cts +5 -5
- package/dist/actions/get-vector-store-file.d.mts +5 -5
- package/dist/actions/get-vector-store-file.mjs +4 -4
- package/dist/actions/get-vector-store-file.mjs.map +1 -1
- package/dist/actions/get-vector-store.cjs +4 -4
- package/dist/actions/get-vector-store.cjs.map +1 -1
- package/dist/actions/get-vector-store.d.cts +4 -4
- package/dist/actions/get-vector-store.d.mts +4 -4
- package/dist/actions/get-vector-store.mjs +4 -4
- package/dist/actions/get-vector-store.mjs.map +1 -1
- package/dist/actions/get-video.cjs +2 -2
- package/dist/actions/get-video.cjs.map +1 -1
- package/dist/actions/get-video.d.cts +3 -3
- package/dist/actions/get-video.d.mts +3 -3
- package/dist/actions/get-video.mjs +2 -2
- package/dist/actions/get-video.mjs.map +1 -1
- package/dist/actions/list-assistants.cjs +16 -16
- package/dist/actions/list-assistants.cjs.map +1 -1
- package/dist/actions/list-assistants.d.cts +16 -16
- package/dist/actions/list-assistants.d.mts +16 -16
- package/dist/actions/list-assistants.mjs +16 -16
- package/dist/actions/list-assistants.mjs.map +1 -1
- package/dist/actions/list-batches.cjs +8 -8
- package/dist/actions/list-batches.cjs.map +1 -1
- package/dist/actions/list-batches.d.cts +12 -12
- package/dist/actions/list-batches.d.mts +12 -12
- package/dist/actions/list-batches.mjs +8 -8
- package/dist/actions/list-batches.mjs.map +1 -1
- package/dist/actions/list-chat-completions.cjs +4 -4
- package/dist/actions/list-chat-completions.cjs.map +1 -1
- package/dist/actions/list-chat-completions.d.cts +4 -4
- package/dist/actions/list-chat-completions.d.mts +4 -4
- package/dist/actions/list-chat-completions.mjs +4 -4
- package/dist/actions/list-chat-completions.mjs.map +1 -1
- package/dist/actions/list-chatkit-thread-items.cjs +2 -2
- package/dist/actions/list-chatkit-thread-items.cjs.map +1 -1
- package/dist/actions/list-chatkit-thread-items.d.cts +2 -2
- package/dist/actions/list-chatkit-thread-items.d.mts +2 -2
- package/dist/actions/list-chatkit-thread-items.mjs +2 -2
- package/dist/actions/list-chatkit-thread-items.mjs.map +1 -1
- package/dist/actions/list-container-files.cjs +2 -2
- package/dist/actions/list-container-files.cjs.map +1 -1
- package/dist/actions/list-container-files.d.cts +2 -2
- package/dist/actions/list-container-files.d.mts +2 -2
- package/dist/actions/list-container-files.mjs +2 -2
- package/dist/actions/list-container-files.mjs.map +1 -1
- package/dist/actions/list-containers.cjs +4 -4
- package/dist/actions/list-containers.cjs.map +1 -1
- package/dist/actions/list-containers.d.cts +4 -4
- package/dist/actions/list-containers.d.mts +4 -4
- package/dist/actions/list-containers.mjs +4 -4
- package/dist/actions/list-containers.mjs.map +1 -1
- package/dist/actions/list-conversation-items.cjs +2 -2
- package/dist/actions/list-conversation-items.cjs.map +1 -1
- package/dist/actions/list-conversation-items.d.cts +2 -2
- package/dist/actions/list-conversation-items.d.mts +2 -2
- package/dist/actions/list-conversation-items.mjs +2 -2
- package/dist/actions/list-conversation-items.mjs.map +1 -1
- package/dist/actions/list-engines.cjs +2 -2
- package/dist/actions/list-engines.cjs.map +1 -1
- package/dist/actions/list-engines.d.cts +2 -2
- package/dist/actions/list-engines.d.mts +2 -2
- package/dist/actions/list-engines.mjs +2 -2
- package/dist/actions/list-engines.mjs.map +1 -1
- package/dist/actions/list-evals.cjs +14 -14
- package/dist/actions/list-evals.cjs.map +1 -1
- package/dist/actions/list-evals.d.cts +15 -15
- package/dist/actions/list-evals.d.mts +15 -15
- package/dist/actions/list-evals.mjs +14 -14
- package/dist/actions/list-evals.mjs.map +1 -1
- package/dist/actions/list-files-in-vector-store-batch.cjs +5 -5
- package/dist/actions/list-files-in-vector-store-batch.cjs.map +1 -1
- package/dist/actions/list-files-in-vector-store-batch.d.cts +8 -8
- package/dist/actions/list-files-in-vector-store-batch.d.mts +8 -8
- package/dist/actions/list-files-in-vector-store-batch.mjs +5 -5
- package/dist/actions/list-files-in-vector-store-batch.mjs.map +1 -1
- package/dist/actions/list-files.cjs +2 -2
- package/dist/actions/list-files.cjs.map +1 -1
- package/dist/actions/list-files.d.cts +2 -2
- package/dist/actions/list-files.d.mts +2 -2
- package/dist/actions/list-files.mjs +2 -2
- package/dist/actions/list-files.mjs.map +1 -1
- package/dist/actions/list-fine-tunes.cjs +5 -5
- package/dist/actions/list-fine-tunes.cjs.map +1 -1
- package/dist/actions/list-fine-tunes.d.cts +7 -7
- package/dist/actions/list-fine-tunes.d.mts +7 -7
- package/dist/actions/list-fine-tunes.mjs +5 -5
- package/dist/actions/list-fine-tunes.mjs.map +1 -1
- package/dist/actions/list-fine-tuning-events.cjs +2 -2
- package/dist/actions/list-fine-tuning-events.cjs.map +1 -1
- package/dist/actions/list-fine-tuning-events.d.cts +2 -2
- package/dist/actions/list-fine-tuning-events.d.mts +2 -2
- package/dist/actions/list-fine-tuning-events.mjs +2 -2
- package/dist/actions/list-fine-tuning-events.mjs.map +1 -1
- package/dist/actions/list-fine-tuning-job-checkpoints.cjs +3 -3
- package/dist/actions/list-fine-tuning-job-checkpoints.cjs.map +1 -1
- package/dist/actions/list-fine-tuning-job-checkpoints.d.cts +3 -3
- package/dist/actions/list-fine-tuning-job-checkpoints.d.mts +3 -3
- package/dist/actions/list-fine-tuning-job-checkpoints.mjs +3 -3
- package/dist/actions/list-fine-tuning-job-checkpoints.mjs.map +1 -1
- package/dist/actions/list-input-items.cjs +2 -2
- package/dist/actions/list-input-items.cjs.map +1 -1
- package/dist/actions/list-input-items.d.cts +2 -2
- package/dist/actions/list-input-items.d.mts +2 -2
- package/dist/actions/list-input-items.mjs +2 -2
- package/dist/actions/list-input-items.mjs.map +1 -1
- package/dist/actions/list-messages.cjs +10 -10
- package/dist/actions/list-messages.cjs.map +1 -1
- package/dist/actions/list-messages.d.cts +10 -10
- package/dist/actions/list-messages.d.mts +10 -10
- package/dist/actions/list-messages.mjs +10 -10
- package/dist/actions/list-messages.mjs.map +1 -1
- package/dist/actions/list-models.cjs +3 -3
- package/dist/actions/list-models.cjs.map +1 -1
- package/dist/actions/list-models.d.cts +3 -3
- package/dist/actions/list-models.d.mts +3 -3
- package/dist/actions/list-models.mjs +3 -3
- package/dist/actions/list-models.mjs.map +1 -1
- package/dist/actions/list-run-steps.cjs +16 -16
- package/dist/actions/list-run-steps.cjs.map +1 -1
- package/dist/actions/list-run-steps.d.cts +17 -17
- package/dist/actions/list-run-steps.d.mts +17 -17
- package/dist/actions/list-run-steps.mjs +16 -16
- package/dist/actions/list-run-steps.mjs.map +1 -1
- package/dist/actions/list-runs.cjs +8 -8
- package/dist/actions/list-runs.cjs.map +1 -1
- package/dist/actions/list-runs.d.cts +12 -12
- package/dist/actions/list-runs.d.mts +12 -12
- package/dist/actions/list-runs.mjs +8 -8
- package/dist/actions/list-runs.mjs.map +1 -1
- package/dist/actions/list-skills.cjs +2 -2
- package/dist/actions/list-skills.cjs.map +1 -1
- package/dist/actions/list-skills.d.cts +2 -2
- package/dist/actions/list-skills.d.mts +2 -2
- package/dist/actions/list-skills.mjs +2 -2
- package/dist/actions/list-skills.mjs.map +1 -1
- package/dist/actions/list-threads.cjs +4 -4
- package/dist/actions/list-threads.cjs.map +1 -1
- package/dist/actions/list-threads.d.cts +4 -4
- package/dist/actions/list-threads.d.mts +4 -4
- package/dist/actions/list-threads.mjs +4 -4
- package/dist/actions/list-threads.mjs.map +1 -1
- package/dist/actions/list-vector-store-files.cjs +3 -3
- package/dist/actions/list-vector-store-files.cjs.map +1 -1
- package/dist/actions/list-vector-store-files.d.cts +6 -6
- package/dist/actions/list-vector-store-files.d.mts +6 -6
- package/dist/actions/list-vector-store-files.mjs +3 -3
- package/dist/actions/list-vector-store-files.mjs.map +1 -1
- package/dist/actions/list-vector-stores.cjs +5 -5
- package/dist/actions/list-vector-stores.cjs.map +1 -1
- package/dist/actions/list-vector-stores.d.cts +5 -5
- package/dist/actions/list-vector-stores.d.mts +5 -5
- package/dist/actions/list-vector-stores.mjs +5 -5
- package/dist/actions/list-vector-stores.mjs.map +1 -1
- package/dist/actions/list-videos.cjs +3 -3
- package/dist/actions/list-videos.cjs.map +1 -1
- package/dist/actions/list-videos.d.cts +4 -4
- package/dist/actions/list-videos.d.mts +4 -4
- package/dist/actions/list-videos.mjs +3 -3
- package/dist/actions/list-videos.mjs.map +1 -1
- package/dist/actions/modify-assistant.cjs +3 -3
- package/dist/actions/modify-assistant.cjs.map +1 -1
- package/dist/actions/modify-assistant.d.cts +4 -4
- package/dist/actions/modify-assistant.d.mts +4 -4
- package/dist/actions/modify-assistant.mjs +3 -3
- package/dist/actions/modify-assistant.mjs.map +1 -1
- package/dist/actions/modify-message.cjs +9 -9
- package/dist/actions/modify-message.cjs.map +1 -1
- package/dist/actions/modify-message.d.cts +10 -10
- package/dist/actions/modify-message.d.mts +10 -10
- package/dist/actions/modify-message.mjs +9 -9
- package/dist/actions/modify-message.mjs.map +1 -1
- package/dist/actions/modify-run.cjs +8 -8
- package/dist/actions/modify-run.cjs.map +1 -1
- package/dist/actions/modify-run.d.cts +13 -13
- package/dist/actions/modify-run.d.mts +13 -13
- package/dist/actions/modify-run.mjs +8 -8
- package/dist/actions/modify-run.mjs.map +1 -1
- package/dist/actions/modify-thread.cjs +3 -3
- package/dist/actions/modify-thread.cjs.map +1 -1
- package/dist/actions/modify-thread.d.cts +4 -4
- package/dist/actions/modify-thread.d.mts +4 -4
- package/dist/actions/modify-thread.mjs +3 -3
- package/dist/actions/modify-thread.mjs.map +1 -1
- package/dist/actions/modify-vector-store.cjs +5 -5
- package/dist/actions/modify-vector-store.cjs.map +1 -1
- package/dist/actions/modify-vector-store.d.cts +6 -6
- package/dist/actions/modify-vector-store.d.mts +6 -6
- package/dist/actions/modify-vector-store.mjs +5 -5
- package/dist/actions/modify-vector-store.mjs.map +1 -1
- package/dist/actions/retrieve-assistant.cjs +3 -3
- package/dist/actions/retrieve-assistant.cjs.map +1 -1
- package/dist/actions/retrieve-assistant.d.cts +3 -3
- package/dist/actions/retrieve-assistant.d.mts +3 -3
- package/dist/actions/retrieve-assistant.mjs +3 -3
- package/dist/actions/retrieve-assistant.mjs.map +1 -1
- package/dist/actions/retrieve-batch.cjs +6 -6
- package/dist/actions/retrieve-batch.cjs.map +1 -1
- package/dist/actions/retrieve-batch.d.cts +10 -10
- package/dist/actions/retrieve-batch.d.mts +10 -10
- package/dist/actions/retrieve-batch.mjs +6 -6
- package/dist/actions/retrieve-batch.mjs.map +1 -1
- package/dist/actions/retrieve-container-file-content.cjs +2 -2
- package/dist/actions/retrieve-container-file-content.cjs.map +1 -1
- package/dist/actions/retrieve-container-file-content.d.cts +2 -2
- package/dist/actions/retrieve-container-file-content.d.mts +2 -2
- package/dist/actions/retrieve-container-file-content.mjs +2 -2
- package/dist/actions/retrieve-container-file-content.mjs.map +1 -1
- package/dist/actions/retrieve-container-file.cjs +1 -1
- package/dist/actions/retrieve-container-file.cjs.map +1 -1
- package/dist/actions/retrieve-container-file.d.cts +1 -1
- package/dist/actions/retrieve-container-file.d.mts +1 -1
- package/dist/actions/retrieve-container-file.mjs +1 -1
- package/dist/actions/retrieve-container-file.mjs.map +1 -1
- package/dist/actions/retrieve-container.cjs +3 -3
- package/dist/actions/retrieve-container.cjs.map +1 -1
- package/dist/actions/retrieve-container.d.cts +3 -3
- package/dist/actions/retrieve-container.d.mts +3 -3
- package/dist/actions/retrieve-container.mjs +3 -3
- package/dist/actions/retrieve-container.mjs.map +1 -1
- package/dist/actions/retrieve-engine.cjs +1 -1
- package/dist/actions/retrieve-engine.cjs.map +1 -1
- package/dist/actions/retrieve-engine.d.cts +1 -1
- package/dist/actions/retrieve-engine.d.mts +1 -1
- package/dist/actions/retrieve-engine.mjs +1 -1
- package/dist/actions/retrieve-engine.mjs.map +1 -1
- package/dist/actions/retrieve-file.cjs +1 -1
- package/dist/actions/retrieve-file.cjs.map +1 -1
- package/dist/actions/retrieve-file.d.cts +1 -1
- package/dist/actions/retrieve-file.d.mts +1 -1
- package/dist/actions/retrieve-file.mjs +1 -1
- package/dist/actions/retrieve-file.mjs.map +1 -1
- package/dist/actions/retrieve-fine-tuning-job.cjs +4 -4
- package/dist/actions/retrieve-fine-tuning-job.cjs.map +1 -1
- package/dist/actions/retrieve-fine-tuning-job.d.cts +5 -5
- package/dist/actions/retrieve-fine-tuning-job.d.mts +5 -5
- package/dist/actions/retrieve-fine-tuning-job.mjs +4 -4
- package/dist/actions/retrieve-fine-tuning-job.mjs.map +1 -1
- package/dist/actions/retrieve-model.cjs +2 -2
- package/dist/actions/retrieve-model.cjs.map +1 -1
- package/dist/actions/retrieve-model.d.cts +2 -2
- package/dist/actions/retrieve-model.d.mts +2 -2
- package/dist/actions/retrieve-model.mjs +2 -2
- package/dist/actions/retrieve-model.mjs.map +1 -1
- package/dist/actions/retrieve-run.cjs +7 -7
- package/dist/actions/retrieve-run.cjs.map +1 -1
- package/dist/actions/retrieve-run.d.cts +11 -11
- package/dist/actions/retrieve-run.d.mts +11 -11
- package/dist/actions/retrieve-run.mjs +7 -7
- package/dist/actions/retrieve-run.mjs.map +1 -1
- package/dist/actions/retrieve-thread.cjs +2 -2
- package/dist/actions/retrieve-thread.cjs.map +1 -1
- package/dist/actions/retrieve-thread.d.cts +2 -2
- package/dist/actions/retrieve-thread.d.mts +2 -2
- package/dist/actions/retrieve-thread.mjs +2 -2
- package/dist/actions/retrieve-thread.mjs.map +1 -1
- package/dist/actions/retrieve-vector-store-file-content.cjs +2 -2
- package/dist/actions/retrieve-vector-store-file-content.cjs.map +1 -1
- package/dist/actions/retrieve-vector-store-file-content.d.cts +2 -2
- package/dist/actions/retrieve-vector-store-file-content.d.mts +2 -2
- package/dist/actions/retrieve-vector-store-file-content.mjs +2 -2
- package/dist/actions/retrieve-vector-store-file-content.mjs.map +1 -1
- package/dist/actions/run-grader.cjs +8 -8
- package/dist/actions/run-grader.cjs.map +1 -1
- package/dist/actions/run-grader.d.cts +13 -8
- package/dist/actions/run-grader.d.mts +13 -8
- package/dist/actions/run-grader.mjs +8 -8
- package/dist/actions/run-grader.mjs.map +1 -1
- package/dist/actions/search-vector-store.cjs +3 -3
- package/dist/actions/search-vector-store.cjs.map +1 -1
- package/dist/actions/search-vector-store.d.cts +3 -3
- package/dist/actions/search-vector-store.d.mts +3 -3
- package/dist/actions/search-vector-store.mjs +3 -3
- package/dist/actions/search-vector-store.mjs.map +1 -1
- package/dist/actions/submit-tool-outputs-to-run.cjs +8 -8
- package/dist/actions/submit-tool-outputs-to-run.cjs.map +1 -1
- package/dist/actions/submit-tool-outputs-to-run.d.cts +13 -12
- package/dist/actions/submit-tool-outputs-to-run.d.mts +13 -12
- package/dist/actions/submit-tool-outputs-to-run.mjs +8 -8
- package/dist/actions/submit-tool-outputs-to-run.mjs.map +1 -1
- package/dist/actions/update-chat-completion.cjs +8 -8
- package/dist/actions/update-chat-completion.cjs.map +1 -1
- package/dist/actions/update-chat-completion.d.cts +9 -9
- package/dist/actions/update-chat-completion.d.mts +9 -9
- package/dist/actions/update-chat-completion.mjs +8 -8
- package/dist/actions/update-chat-completion.mjs.map +1 -1
- package/dist/actions/update-conversation.cjs +1 -1
- package/dist/actions/update-conversation.cjs.map +1 -1
- package/dist/actions/update-conversation.d.cts +1 -1
- package/dist/actions/update-conversation.d.mts +1 -1
- package/dist/actions/update-conversation.mjs +1 -1
- package/dist/actions/update-conversation.mjs.map +1 -1
- package/dist/actions/update-eval.cjs +1 -1
- package/dist/actions/update-eval.cjs.map +1 -1
- package/dist/actions/update-eval.d.cts +1 -1
- package/dist/actions/update-eval.d.mts +1 -1
- package/dist/actions/update-eval.mjs +1 -1
- package/dist/actions/update-eval.mjs.map +1 -1
- package/dist/actions/update-vector-store-file-attributes.cjs +4 -4
- package/dist/actions/update-vector-store-file-attributes.cjs.map +1 -1
- package/dist/actions/update-vector-store-file-attributes.d.cts +5 -5
- package/dist/actions/update-vector-store-file-attributes.d.mts +5 -5
- package/dist/actions/update-vector-store-file-attributes.mjs +4 -4
- package/dist/actions/update-vector-store-file-attributes.mjs.map +1 -1
- package/dist/actions/upload-file.cjs +1 -1
- package/dist/actions/upload-file.cjs.map +1 -1
- package/dist/actions/upload-file.d.cts +1 -1
- package/dist/actions/upload-file.d.mts +1 -1
- package/dist/actions/upload-file.mjs +1 -1
- package/dist/actions/upload-file.mjs.map +1 -1
- package/dist/actions/validate-grader.cjs +7 -7
- package/dist/actions/validate-grader.cjs.map +1 -1
- package/dist/actions/validate-grader.d.cts +12 -7
- package/dist/actions/validate-grader.d.cts.map +1 -1
- package/dist/actions/validate-grader.d.mts +12 -7
- package/dist/actions/validate-grader.d.mts.map +1 -1
- package/dist/actions/validate-grader.mjs +7 -7
- package/dist/actions/validate-grader.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3,14 +3,14 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/modify-run.ts
|
|
4
4
|
const OpenaiModifyRunInput = zod.z.object({
|
|
5
5
|
run_id: zod.z.string().describe("The ID of the run to modify"),
|
|
6
|
-
metadata: zod.z.
|
|
6
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Set of up to 16 key-value pairs that can be attached to the run. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. This can be useful for storing additional information about the run in a structured format").optional(),
|
|
7
7
|
thread_id: zod.z.string().describe("The ID of the thread that was run")
|
|
8
8
|
}).describe("Request model for modifying a run.");
|
|
9
9
|
const OpenaiModifyRun_UsageSchema = zod.z.object({
|
|
10
10
|
total_tokens: zod.z.number().int().describe("Total tokens used").nullable(),
|
|
11
11
|
prompt_tokens: zod.z.number().int().describe("Number of prompt tokens used").nullable(),
|
|
12
12
|
completion_tokens: zod.z.number().int().describe("Number of completion tokens used").nullable()
|
|
13
|
-
}).describe("Usage statistics for the run.");
|
|
13
|
+
}).passthrough().describe("Usage statistics for the run.");
|
|
14
14
|
const OpenaiModifyRun_LastErrorSchema = zod.z.object({
|
|
15
15
|
code: zod.z.enum([
|
|
16
16
|
"server_error",
|
|
@@ -18,16 +18,16 @@ const OpenaiModifyRun_LastErrorSchema = zod.z.object({
|
|
|
18
18
|
"invalid_prompt"
|
|
19
19
|
]).describe("One of server_error, rate_limit_exceeded, or invalid_prompt").nullable(),
|
|
20
20
|
message: zod.z.string().describe("A human-readable description of the error").nullable()
|
|
21
|
-
}).describe("Last error associated with the run.");
|
|
21
|
+
}).passthrough().describe("Last error associated with the run.");
|
|
22
22
|
const OpenaiModifyRun_RequiredActionSchema = zod.z.object({
|
|
23
23
|
type: zod.z.string().describe("For now, this is always submit_tool_outputs").nullable(),
|
|
24
24
|
submit_tool_outputs: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Details on the tool outputs needed for this run to continue")
|
|
25
|
-
}).describe("Details on the action required to continue the run.");
|
|
26
|
-
const OpenaiModifyRun_IncompleteDetailsSchema = zod.z.object({ reason: zod.z.enum(["max_completion_tokens", "max_prompt_tokens"]).describe("The reason why the run is incomplete. This will point to which specific token limit was reached over the course of the run").nullable().optional() }).describe("Details on why the run is incomplete.");
|
|
25
|
+
}).passthrough().describe("Details on the action required to continue the run.");
|
|
26
|
+
const OpenaiModifyRun_IncompleteDetailsSchema = zod.z.object({ reason: zod.z.enum(["max_completion_tokens", "max_prompt_tokens"]).describe("The reason why the run is incomplete. This will point to which specific token limit was reached over the course of the run").nullable().optional() }).passthrough().describe("Details on why the run is incomplete.");
|
|
27
27
|
const OpenaiModifyRun_TruncationStrategySchema = zod.z.object({
|
|
28
28
|
type: zod.z.string().describe("Truncation strategy type").nullable(),
|
|
29
29
|
last_messages: zod.z.unknown().describe("Number of most recent messages to retain").nullable().optional()
|
|
30
|
-
}).describe("Thread truncation controls.");
|
|
30
|
+
}).passthrough().describe("Thread truncation controls.");
|
|
31
31
|
const OpenaiModifyRunOutput = zod.z.object({
|
|
32
32
|
id: zod.z.string().describe("The identifier, which can be referenced in API endpoints").nullable(),
|
|
33
33
|
model: zod.z.string().describe("The model that the assistant used for this run").nullable(),
|
|
@@ -46,7 +46,7 @@ const OpenaiModifyRunOutput = zod.z.object({
|
|
|
46
46
|
"incomplete",
|
|
47
47
|
"expired"
|
|
48
48
|
]).describe("The status of the run, which can be either queued, in_progress, requires_action, cancelling, cancelled, failed, completed, incomplete, or expired").nullable(),
|
|
49
|
-
metadata: zod.z.
|
|
49
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Set of 16 key-value pairs for storing additional information").nullable().optional(),
|
|
50
50
|
failed_at: zod.z.number().int().describe("The Unix timestamp (in seconds) for when the run failed").nullable().optional(),
|
|
51
51
|
thread_id: zod.z.string().describe("The ID of the thread that was executed on as a part of this run").nullable(),
|
|
52
52
|
created_at: zod.z.number().int().describe("The Unix timestamp (in seconds) for when the run was created").nullable(),
|
|
@@ -66,7 +66,7 @@ const OpenaiModifyRunOutput = zod.z.object({
|
|
|
66
66
|
parallel_tool_calls: zod.z.boolean().describe("Whether to enable parallel function calling during tool use").nullable(),
|
|
67
67
|
truncation_strategy: OpenaiModifyRun_TruncationStrategySchema.nullable().optional(),
|
|
68
68
|
max_completion_tokens: zod.z.number().int().describe("The maximum number of completion tokens specified to have been used over the course of the run").nullable().optional()
|
|
69
|
-
}).describe("Response schema for a modified run.");
|
|
69
|
+
}).passthrough().describe("Response schema for a modified run.");
|
|
70
70
|
const openaiModifyRun = require_action.action("OPENAI_MODIFY_RUN", {
|
|
71
71
|
slug: "openai-modify-run",
|
|
72
72
|
name: "Modify Run",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modify-run.cjs","names":["z","action"],"sources":["../../src/actions/modify-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiModifyRunInput = z.object({\n run_id: z.string().describe(\"The ID of the run to modify\"),\n metadata: z.object({}).describe(\"Set of up to 16 key-value pairs that can be attached to the run. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. This can be useful for storing additional information about the run in a structured format\").optional(),\n thread_id: z.string().describe(\"The ID of the thread that was run\"),\n}).describe(\"Request model for modifying a run.\");\nconst OpenaiModifyRun_UsageSchema = z.object({\n total_tokens: z.number().int().describe(\"Total tokens used\").nullable(),\n prompt_tokens: z.number().int().describe(\"Number of prompt tokens used\").nullable(),\n completion_tokens: z.number().int().describe(\"Number of completion tokens used\").nullable(),\n}).describe(\"Usage statistics for the run.\");\nconst OpenaiModifyRun_LastErrorSchema = z.object({\n code: z.enum([\"server_error\", \"rate_limit_exceeded\", \"invalid_prompt\"]).describe(\"One of server_error, rate_limit_exceeded, or invalid_prompt\").nullable(),\n message: z.string().describe(\"A human-readable description of the error\").nullable(),\n}).describe(\"Last error associated with the run.\");\nconst OpenaiModifyRun_RequiredActionSchema = z.object({\n type: z.string().describe(\"For now, this is always submit_tool_outputs\").nullable(),\n submit_tool_outputs: z.record(z.string(), z.unknown()).describe(\"Details on the tool outputs needed for this run to continue\"),\n}).describe(\"Details on the action required to continue the run.\");\nconst OpenaiModifyRun_IncompleteDetailsSchema = z.object({\n reason: z.enum([\"max_completion_tokens\", \"max_prompt_tokens\"]).describe(\"The reason why the run is incomplete. This will point to which specific token limit was reached over the course of the run\").nullable().optional(),\n}).describe(\"Details on why the run is incomplete.\");\nconst OpenaiModifyRun_TruncationStrategySchema = z.object({\n type: z.string().describe(\"Truncation strategy type\").nullable(),\n last_messages: z.unknown().describe(\"Number of most recent messages to retain\").nullable().optional(),\n}).describe(\"Thread truncation controls.\");\nexport const OpenaiModifyRunOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints\").nullable(),\n model: z.string().describe(\"The model that the assistant used for this run\").nullable(),\n tools: z.array(z.record(z.string(), z.unknown())).describe(\"The list of tools that the assistant used for this run\"),\n top_p: z.number().describe(\"The nucleus sampling value used for this run. If not set, defaults to 1\").nullable().optional(),\n usage: OpenaiModifyRun_UsageSchema.nullable().optional(),\n object: z.string().describe(\"The object type, which is always thread.run\").nullable(),\n status: z.enum([\"queued\", \"in_progress\", \"requires_action\", \"cancelling\", \"cancelled\", \"failed\", \"completed\", \"incomplete\", \"expired\"]).describe(\"The status of the run, which can be either queued, in_progress, requires_action, cancelling, cancelled, failed, completed, incomplete, or expired\").nullable(),\n metadata: z.object({}).describe(\"Set of 16 key-value pairs for storing additional information\").nullable().optional(),\n failed_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run failed\").nullable().optional(),\n thread_id: z.string().describe(\"The ID of the thread that was executed on as a part of this run\").nullable(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was created\").nullable(),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run will expire\").nullable().optional(),\n last_error: OpenaiModifyRun_LastErrorSchema.nullable().optional(),\n started_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was started\").nullable().optional(),\n temperature: z.number().describe(\"The sampling temperature used for this run. If not set, defaults to 1\").nullable().optional(),\n tool_choice: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n assistant_id: z.string().describe(\"The ID of the assistant used for execution of this run\").nullable(),\n cancelled_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was cancelled\").nullable().optional(),\n completed_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was completed\").nullable().optional(),\n instructions: z.string().describe(\"The instructions that the assistant used for this run\").nullable().optional(),\n required_action: OpenaiModifyRun_RequiredActionSchema.nullable().optional(),\n response_format: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n max_prompt_tokens: z.number().int().describe(\"The maximum number of prompt tokens specified to have been used over the course of the run\").nullable().optional(),\n incomplete_details: OpenaiModifyRun_IncompleteDetailsSchema.nullable().optional(),\n parallel_tool_calls: z.boolean().describe(\"Whether to enable parallel function calling during tool use\").nullable(),\n truncation_strategy: OpenaiModifyRun_TruncationStrategySchema.nullable().optional(),\n max_completion_tokens: z.number().int().describe(\"The maximum number of completion tokens specified to have been used over the course of the run\").nullable().optional(),\n}).describe(\"Response schema for a modified run.\");\n\nexport const openaiModifyRun = action(\"OPENAI_MODIFY_RUN\", {\n slug: \"openai-modify-run\",\n name: \"Modify Run\",\n description: \"Tool to modify a run's metadata. Use when you need to update metadata information for a specific run.\",\n input: OpenaiModifyRunInput,\n output: OpenaiModifyRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACzD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6PAA6P,CAAC,CAAC,SAAS;CACxS,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AACpE,CAAC,CAAC,CAAC,SAAS,oCAAoC;A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,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,oBAAoB,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAChF,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAClH,qBAAqB,yCAAyC,SAAS,CAAC,CAAC,SAAS;CAClF,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzK,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAEjD,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"modify-run.cjs","names":["z","action"],"sources":["../../src/actions/modify-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiModifyRunInput = z.object({\n run_id: z.string().describe(\"The ID of the run to modify\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of up to 16 key-value pairs that can be attached to the run. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. This can be useful for storing additional information about the run in a structured format\").optional(),\n thread_id: z.string().describe(\"The ID of the thread that was run\"),\n}).describe(\"Request model for modifying a run.\");\nconst OpenaiModifyRun_UsageSchema = z.object({\n total_tokens: z.number().int().describe(\"Total tokens used\").nullable(),\n prompt_tokens: z.number().int().describe(\"Number of prompt tokens used\").nullable(),\n completion_tokens: z.number().int().describe(\"Number of completion tokens used\").nullable(),\n}).passthrough().describe(\"Usage statistics for the run.\");\nconst OpenaiModifyRun_LastErrorSchema = z.object({\n code: z.enum([\"server_error\", \"rate_limit_exceeded\", \"invalid_prompt\"]).describe(\"One of server_error, rate_limit_exceeded, or invalid_prompt\").nullable(),\n message: z.string().describe(\"A human-readable description of the error\").nullable(),\n}).passthrough().describe(\"Last error associated with the run.\");\nconst OpenaiModifyRun_RequiredActionSchema = z.object({\n type: z.string().describe(\"For now, this is always submit_tool_outputs\").nullable(),\n submit_tool_outputs: z.record(z.string(), z.unknown()).describe(\"Details on the tool outputs needed for this run to continue\"),\n}).passthrough().describe(\"Details on the action required to continue the run.\");\nconst OpenaiModifyRun_IncompleteDetailsSchema = z.object({\n reason: z.enum([\"max_completion_tokens\", \"max_prompt_tokens\"]).describe(\"The reason why the run is incomplete. This will point to which specific token limit was reached over the course of the run\").nullable().optional(),\n}).passthrough().describe(\"Details on why the run is incomplete.\");\nconst OpenaiModifyRun_TruncationStrategySchema = z.object({\n type: z.string().describe(\"Truncation strategy type\").nullable(),\n last_messages: z.unknown().describe(\"Number of most recent messages to retain\").nullable().optional(),\n}).passthrough().describe(\"Thread truncation controls.\");\nexport const OpenaiModifyRunOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints\").nullable(),\n model: z.string().describe(\"The model that the assistant used for this run\").nullable(),\n tools: z.array(z.record(z.string(), z.unknown())).describe(\"The list of tools that the assistant used for this run\"),\n top_p: z.number().describe(\"The nucleus sampling value used for this run. If not set, defaults to 1\").nullable().optional(),\n usage: OpenaiModifyRun_UsageSchema.nullable().optional(),\n object: z.string().describe(\"The object type, which is always thread.run\").nullable(),\n status: z.enum([\"queued\", \"in_progress\", \"requires_action\", \"cancelling\", \"cancelled\", \"failed\", \"completed\", \"incomplete\", \"expired\"]).describe(\"The status of the run, which can be either queued, in_progress, requires_action, cancelling, cancelled, failed, completed, incomplete, or expired\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of 16 key-value pairs for storing additional information\").nullable().optional(),\n failed_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run failed\").nullable().optional(),\n thread_id: z.string().describe(\"The ID of the thread that was executed on as a part of this run\").nullable(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was created\").nullable(),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run will expire\").nullable().optional(),\n last_error: OpenaiModifyRun_LastErrorSchema.nullable().optional(),\n started_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was started\").nullable().optional(),\n temperature: z.number().describe(\"The sampling temperature used for this run. If not set, defaults to 1\").nullable().optional(),\n tool_choice: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n assistant_id: z.string().describe(\"The ID of the assistant used for execution of this run\").nullable(),\n cancelled_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was cancelled\").nullable().optional(),\n completed_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was completed\").nullable().optional(),\n instructions: z.string().describe(\"The instructions that the assistant used for this run\").nullable().optional(),\n required_action: OpenaiModifyRun_RequiredActionSchema.nullable().optional(),\n response_format: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n max_prompt_tokens: z.number().int().describe(\"The maximum number of prompt tokens specified to have been used over the course of the run\").nullable().optional(),\n incomplete_details: OpenaiModifyRun_IncompleteDetailsSchema.nullable().optional(),\n parallel_tool_calls: z.boolean().describe(\"Whether to enable parallel function calling during tool use\").nullable(),\n truncation_strategy: OpenaiModifyRun_TruncationStrategySchema.nullable().optional(),\n max_completion_tokens: z.number().int().describe(\"The maximum number of completion tokens specified to have been used over the course of the run\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a modified run.\");\n\nexport const openaiModifyRun = action(\"OPENAI_MODIFY_RUN\", {\n slug: \"openai-modify-run\",\n name: \"Modify Run\",\n description: \"Tool to modify a run's metadata. Use when you need to update metadata information for a specific run.\",\n input: OpenaiModifyRunInput,\n output: OpenaiModifyRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACzD,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA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,SAAS,CAAC,CAAC,SAAS;CAC/G,iBAAiB,qCAAqC,SAAS,CAAC,CAAC,SAAS;CAC1E,iBAAiBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,oBAAoB,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAChF,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAClH,qBAAqB,yCAAyC,SAAS,CAAC,CAAC,SAAS;CAClF,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/modify-run.d.ts
|
|
4
4
|
declare const OpenaiModifyRunInput: z.ZodObject<{
|
|
5
5
|
run_id: z.ZodString;
|
|
6
|
-
metadata: z.ZodOptional<z.
|
|
6
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7
7
|
thread_id: z.ZodString;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
declare const OpenaiModifyRunOutput: z.ZodObject<{
|
|
@@ -15,20 +15,20 @@ declare const OpenaiModifyRunOutput: z.ZodObject<{
|
|
|
15
15
|
total_tokens: z.ZodNullable<z.ZodNumber>;
|
|
16
16
|
prompt_tokens: z.ZodNullable<z.ZodNumber>;
|
|
17
17
|
completion_tokens: z.ZodNullable<z.ZodNumber>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
object: z.ZodNullable<z.ZodString>;
|
|
20
20
|
status: z.ZodNullable<z.ZodEnum<{
|
|
21
21
|
failed: "failed";
|
|
22
|
-
queued: "queued";
|
|
23
22
|
in_progress: "in_progress";
|
|
24
|
-
|
|
23
|
+
completed: "completed";
|
|
24
|
+
expired: "expired";
|
|
25
25
|
cancelling: "cancelling";
|
|
26
26
|
cancelled: "cancelled";
|
|
27
|
-
|
|
27
|
+
queued: "queued";
|
|
28
|
+
requires_action: "requires_action";
|
|
28
29
|
incomplete: "incomplete";
|
|
29
|
-
expired: "expired";
|
|
30
30
|
}>>;
|
|
31
|
-
metadata: z.ZodOptional<z.ZodNullable<z.
|
|
31
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
32
32
|
failed_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
33
|
thread_id: z.ZodNullable<z.ZodString>;
|
|
34
34
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
@@ -40,7 +40,7 @@ declare const OpenaiModifyRunOutput: z.ZodObject<{
|
|
|
40
40
|
invalid_prompt: "invalid_prompt";
|
|
41
41
|
}>>;
|
|
42
42
|
message: z.ZodNullable<z.ZodString>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>>>;
|
|
44
44
|
started_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
45
|
temperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
46
46
|
tool_choice: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
@@ -51,7 +51,7 @@ declare const OpenaiModifyRunOutput: z.ZodObject<{
|
|
|
51
51
|
required_action: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
52
52
|
type: z.ZodNullable<z.ZodString>;
|
|
53
53
|
submit_tool_outputs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
54
|
-
}, z.core.$
|
|
54
|
+
}, z.core.$loose>>>;
|
|
55
55
|
response_format: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
56
56
|
max_prompt_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
57
57
|
incomplete_details: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -59,18 +59,18 @@ declare const OpenaiModifyRunOutput: z.ZodObject<{
|
|
|
59
59
|
max_prompt_tokens: "max_prompt_tokens";
|
|
60
60
|
max_completion_tokens: "max_completion_tokens";
|
|
61
61
|
}>>>;
|
|
62
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$loose>>>;
|
|
63
63
|
parallel_tool_calls: z.ZodNullable<z.ZodBoolean>;
|
|
64
64
|
truncation_strategy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
65
65
|
type: z.ZodNullable<z.ZodString>;
|
|
66
66
|
last_messages: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
67
|
-
}, z.core.$
|
|
67
|
+
}, z.core.$loose>>>;
|
|
68
68
|
max_completion_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
69
|
-
}, z.core.$
|
|
69
|
+
}, z.core.$loose>;
|
|
70
70
|
declare const openaiModifyRun: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
71
71
|
run_id: string;
|
|
72
72
|
thread_id: string;
|
|
73
|
-
metadata?: Record<string,
|
|
73
|
+
metadata?: Record<string, unknown> | undefined;
|
|
74
74
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
75
75
|
//#endregion
|
|
76
76
|
export { openaiModifyRun };
|
|
@@ -3,7 +3,7 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/modify-run.d.ts
|
|
4
4
|
declare const OpenaiModifyRunInput: z.ZodObject<{
|
|
5
5
|
run_id: z.ZodString;
|
|
6
|
-
metadata: z.ZodOptional<z.
|
|
6
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7
7
|
thread_id: z.ZodString;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
declare const OpenaiModifyRunOutput: z.ZodObject<{
|
|
@@ -15,20 +15,20 @@ declare const OpenaiModifyRunOutput: z.ZodObject<{
|
|
|
15
15
|
total_tokens: z.ZodNullable<z.ZodNumber>;
|
|
16
16
|
prompt_tokens: z.ZodNullable<z.ZodNumber>;
|
|
17
17
|
completion_tokens: z.ZodNullable<z.ZodNumber>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
object: z.ZodNullable<z.ZodString>;
|
|
20
20
|
status: z.ZodNullable<z.ZodEnum<{
|
|
21
21
|
failed: "failed";
|
|
22
|
-
queued: "queued";
|
|
23
22
|
in_progress: "in_progress";
|
|
24
|
-
|
|
23
|
+
completed: "completed";
|
|
24
|
+
expired: "expired";
|
|
25
25
|
cancelling: "cancelling";
|
|
26
26
|
cancelled: "cancelled";
|
|
27
|
-
|
|
27
|
+
queued: "queued";
|
|
28
|
+
requires_action: "requires_action";
|
|
28
29
|
incomplete: "incomplete";
|
|
29
|
-
expired: "expired";
|
|
30
30
|
}>>;
|
|
31
|
-
metadata: z.ZodOptional<z.ZodNullable<z.
|
|
31
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
32
32
|
failed_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
33
|
thread_id: z.ZodNullable<z.ZodString>;
|
|
34
34
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
@@ -40,7 +40,7 @@ declare const OpenaiModifyRunOutput: z.ZodObject<{
|
|
|
40
40
|
invalid_prompt: "invalid_prompt";
|
|
41
41
|
}>>;
|
|
42
42
|
message: z.ZodNullable<z.ZodString>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>>>;
|
|
44
44
|
started_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
45
|
temperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
46
46
|
tool_choice: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
@@ -51,7 +51,7 @@ declare const OpenaiModifyRunOutput: z.ZodObject<{
|
|
|
51
51
|
required_action: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
52
52
|
type: z.ZodNullable<z.ZodString>;
|
|
53
53
|
submit_tool_outputs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
54
|
-
}, z.core.$
|
|
54
|
+
}, z.core.$loose>>>;
|
|
55
55
|
response_format: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
56
56
|
max_prompt_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
57
57
|
incomplete_details: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -59,18 +59,18 @@ declare const OpenaiModifyRunOutput: z.ZodObject<{
|
|
|
59
59
|
max_prompt_tokens: "max_prompt_tokens";
|
|
60
60
|
max_completion_tokens: "max_completion_tokens";
|
|
61
61
|
}>>>;
|
|
62
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$loose>>>;
|
|
63
63
|
parallel_tool_calls: z.ZodNullable<z.ZodBoolean>;
|
|
64
64
|
truncation_strategy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
65
65
|
type: z.ZodNullable<z.ZodString>;
|
|
66
66
|
last_messages: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
67
|
-
}, z.core.$
|
|
67
|
+
}, z.core.$loose>>>;
|
|
68
68
|
max_completion_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
69
|
-
}, z.core.$
|
|
69
|
+
}, z.core.$loose>;
|
|
70
70
|
declare const openaiModifyRun: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
71
71
|
run_id: string;
|
|
72
72
|
thread_id: string;
|
|
73
|
-
metadata?: Record<string,
|
|
73
|
+
metadata?: Record<string, unknown> | undefined;
|
|
74
74
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
75
75
|
//#endregion
|
|
76
76
|
export { openaiModifyRun };
|
|
@@ -3,14 +3,14 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/modify-run.ts
|
|
4
4
|
const OpenaiModifyRunInput = z.object({
|
|
5
5
|
run_id: z.string().describe("The ID of the run to modify"),
|
|
6
|
-
metadata: z.
|
|
6
|
+
metadata: z.record(z.string(), z.unknown()).describe("Set of up to 16 key-value pairs that can be attached to the run. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. This can be useful for storing additional information about the run in a structured format").optional(),
|
|
7
7
|
thread_id: z.string().describe("The ID of the thread that was run")
|
|
8
8
|
}).describe("Request model for modifying a run.");
|
|
9
9
|
const OpenaiModifyRun_UsageSchema = z.object({
|
|
10
10
|
total_tokens: z.number().int().describe("Total tokens used").nullable(),
|
|
11
11
|
prompt_tokens: z.number().int().describe("Number of prompt tokens used").nullable(),
|
|
12
12
|
completion_tokens: z.number().int().describe("Number of completion tokens used").nullable()
|
|
13
|
-
}).describe("Usage statistics for the run.");
|
|
13
|
+
}).passthrough().describe("Usage statistics for the run.");
|
|
14
14
|
const OpenaiModifyRun_LastErrorSchema = z.object({
|
|
15
15
|
code: z.enum([
|
|
16
16
|
"server_error",
|
|
@@ -18,16 +18,16 @@ const OpenaiModifyRun_LastErrorSchema = z.object({
|
|
|
18
18
|
"invalid_prompt"
|
|
19
19
|
]).describe("One of server_error, rate_limit_exceeded, or invalid_prompt").nullable(),
|
|
20
20
|
message: z.string().describe("A human-readable description of the error").nullable()
|
|
21
|
-
}).describe("Last error associated with the run.");
|
|
21
|
+
}).passthrough().describe("Last error associated with the run.");
|
|
22
22
|
const OpenaiModifyRun_RequiredActionSchema = z.object({
|
|
23
23
|
type: z.string().describe("For now, this is always submit_tool_outputs").nullable(),
|
|
24
24
|
submit_tool_outputs: z.record(z.string(), z.unknown()).describe("Details on the tool outputs needed for this run to continue")
|
|
25
|
-
}).describe("Details on the action required to continue the run.");
|
|
26
|
-
const OpenaiModifyRun_IncompleteDetailsSchema = z.object({ reason: z.enum(["max_completion_tokens", "max_prompt_tokens"]).describe("The reason why the run is incomplete. This will point to which specific token limit was reached over the course of the run").nullable().optional() }).describe("Details on why the run is incomplete.");
|
|
25
|
+
}).passthrough().describe("Details on the action required to continue the run.");
|
|
26
|
+
const OpenaiModifyRun_IncompleteDetailsSchema = z.object({ reason: z.enum(["max_completion_tokens", "max_prompt_tokens"]).describe("The reason why the run is incomplete. This will point to which specific token limit was reached over the course of the run").nullable().optional() }).passthrough().describe("Details on why the run is incomplete.");
|
|
27
27
|
const OpenaiModifyRun_TruncationStrategySchema = z.object({
|
|
28
28
|
type: z.string().describe("Truncation strategy type").nullable(),
|
|
29
29
|
last_messages: z.unknown().describe("Number of most recent messages to retain").nullable().optional()
|
|
30
|
-
}).describe("Thread truncation controls.");
|
|
30
|
+
}).passthrough().describe("Thread truncation controls.");
|
|
31
31
|
const openaiModifyRun = action("OPENAI_MODIFY_RUN", {
|
|
32
32
|
slug: "openai-modify-run",
|
|
33
33
|
name: "Modify Run",
|
|
@@ -51,7 +51,7 @@ const openaiModifyRun = action("OPENAI_MODIFY_RUN", {
|
|
|
51
51
|
"incomplete",
|
|
52
52
|
"expired"
|
|
53
53
|
]).describe("The status of the run, which can be either queued, in_progress, requires_action, cancelling, cancelled, failed, completed, incomplete, or expired").nullable(),
|
|
54
|
-
metadata: z.
|
|
54
|
+
metadata: z.record(z.string(), z.unknown()).describe("Set of 16 key-value pairs for storing additional information").nullable().optional(),
|
|
55
55
|
failed_at: z.number().int().describe("The Unix timestamp (in seconds) for when the run failed").nullable().optional(),
|
|
56
56
|
thread_id: z.string().describe("The ID of the thread that was executed on as a part of this run").nullable(),
|
|
57
57
|
created_at: z.number().int().describe("The Unix timestamp (in seconds) for when the run was created").nullable(),
|
|
@@ -71,7 +71,7 @@ const openaiModifyRun = action("OPENAI_MODIFY_RUN", {
|
|
|
71
71
|
parallel_tool_calls: z.boolean().describe("Whether to enable parallel function calling during tool use").nullable(),
|
|
72
72
|
truncation_strategy: OpenaiModifyRun_TruncationStrategySchema.nullable().optional(),
|
|
73
73
|
max_completion_tokens: z.number().int().describe("The maximum number of completion tokens specified to have been used over the course of the run").nullable().optional()
|
|
74
|
-
}).describe("Response schema for a modified run.")
|
|
74
|
+
}).passthrough().describe("Response schema for a modified run.")
|
|
75
75
|
});
|
|
76
76
|
//#endregion
|
|
77
77
|
export { openaiModifyRun };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modify-run.mjs","names":[],"sources":["../../src/actions/modify-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiModifyRunInput = z.object({\n run_id: z.string().describe(\"The ID of the run to modify\"),\n metadata: z.
|
|
1
|
+
{"version":3,"file":"modify-run.mjs","names":[],"sources":["../../src/actions/modify-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiModifyRunInput = z.object({\n run_id: z.string().describe(\"The ID of the run to modify\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of up to 16 key-value pairs that can be attached to the run. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. This can be useful for storing additional information about the run in a structured format\").optional(),\n thread_id: z.string().describe(\"The ID of the thread that was run\"),\n}).describe(\"Request model for modifying a run.\");\nconst OpenaiModifyRun_UsageSchema = z.object({\n total_tokens: z.number().int().describe(\"Total tokens used\").nullable(),\n prompt_tokens: z.number().int().describe(\"Number of prompt tokens used\").nullable(),\n completion_tokens: z.number().int().describe(\"Number of completion tokens used\").nullable(),\n}).passthrough().describe(\"Usage statistics for the run.\");\nconst OpenaiModifyRun_LastErrorSchema = z.object({\n code: z.enum([\"server_error\", \"rate_limit_exceeded\", \"invalid_prompt\"]).describe(\"One of server_error, rate_limit_exceeded, or invalid_prompt\").nullable(),\n message: z.string().describe(\"A human-readable description of the error\").nullable(),\n}).passthrough().describe(\"Last error associated with the run.\");\nconst OpenaiModifyRun_RequiredActionSchema = z.object({\n type: z.string().describe(\"For now, this is always submit_tool_outputs\").nullable(),\n submit_tool_outputs: z.record(z.string(), z.unknown()).describe(\"Details on the tool outputs needed for this run to continue\"),\n}).passthrough().describe(\"Details on the action required to continue the run.\");\nconst OpenaiModifyRun_IncompleteDetailsSchema = z.object({\n reason: z.enum([\"max_completion_tokens\", \"max_prompt_tokens\"]).describe(\"The reason why the run is incomplete. This will point to which specific token limit was reached over the course of the run\").nullable().optional(),\n}).passthrough().describe(\"Details on why the run is incomplete.\");\nconst OpenaiModifyRun_TruncationStrategySchema = z.object({\n type: z.string().describe(\"Truncation strategy type\").nullable(),\n last_messages: z.unknown().describe(\"Number of most recent messages to retain\").nullable().optional(),\n}).passthrough().describe(\"Thread truncation controls.\");\nexport const OpenaiModifyRunOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints\").nullable(),\n model: z.string().describe(\"The model that the assistant used for this run\").nullable(),\n tools: z.array(z.record(z.string(), z.unknown())).describe(\"The list of tools that the assistant used for this run\"),\n top_p: z.number().describe(\"The nucleus sampling value used for this run. If not set, defaults to 1\").nullable().optional(),\n usage: OpenaiModifyRun_UsageSchema.nullable().optional(),\n object: z.string().describe(\"The object type, which is always thread.run\").nullable(),\n status: z.enum([\"queued\", \"in_progress\", \"requires_action\", \"cancelling\", \"cancelled\", \"failed\", \"completed\", \"incomplete\", \"expired\"]).describe(\"The status of the run, which can be either queued, in_progress, requires_action, cancelling, cancelled, failed, completed, incomplete, or expired\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of 16 key-value pairs for storing additional information\").nullable().optional(),\n failed_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run failed\").nullable().optional(),\n thread_id: z.string().describe(\"The ID of the thread that was executed on as a part of this run\").nullable(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was created\").nullable(),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run will expire\").nullable().optional(),\n last_error: OpenaiModifyRun_LastErrorSchema.nullable().optional(),\n started_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was started\").nullable().optional(),\n temperature: z.number().describe(\"The sampling temperature used for this run. If not set, defaults to 1\").nullable().optional(),\n tool_choice: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n assistant_id: z.string().describe(\"The ID of the assistant used for execution of this run\").nullable(),\n cancelled_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was cancelled\").nullable().optional(),\n completed_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was completed\").nullable().optional(),\n instructions: z.string().describe(\"The instructions that the assistant used for this run\").nullable().optional(),\n required_action: OpenaiModifyRun_RequiredActionSchema.nullable().optional(),\n response_format: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n max_prompt_tokens: z.number().int().describe(\"The maximum number of prompt tokens specified to have been used over the course of the run\").nullable().optional(),\n incomplete_details: OpenaiModifyRun_IncompleteDetailsSchema.nullable().optional(),\n parallel_tool_calls: z.boolean().describe(\"Whether to enable parallel function calling during tool use\").nullable(),\n truncation_strategy: OpenaiModifyRun_TruncationStrategySchema.nullable().optional(),\n max_completion_tokens: z.number().int().describe(\"The maximum number of completion tokens specified to have been used over the course of the run\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a modified run.\");\n\nexport const openaiModifyRun = action(\"OPENAI_MODIFY_RUN\", {\n slug: \"openai-modify-run\",\n name: \"Modify Run\",\n description: \"Tool to modify a run's metadata. Use when you need to update metadata information for a specific run.\",\n input: OpenaiModifyRunInput,\n output: OpenaiModifyRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACzD,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6PAA6P,CAAC,CAAC,SAAS;CAC7T,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AACpE,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,8BAA8B,EAAE,OAAO;CAC3C,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACtE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClF,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAM,kCAAkC,EAAE,OAAO;CAC/C,MAAM,EAAE,KAAK;EAAC;EAAgB;EAAuB;CAAgB,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACzJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,uCAAuC,EAA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AI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,iBAAiB,qCAAqC,SAAS,CAAC,CAAC,SAAS;EAC1E,iBAAiB,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/J,oBAAoB,wCAAwC,SAAS,CAAC,CAAC,SAAS;EAChF,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAClH,qBAAqB,yCAAyC,SAAS,CAAC,CAAC,SAAS;EAClF,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
|
|
@@ -2,15 +2,15 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/modify-thread.ts
|
|
4
4
|
const OpenaiModifyThreadInput = zod.z.object({
|
|
5
|
-
metadata: zod.z.
|
|
5
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Arbitrary JSON metadata to attach to the thread Values must be short strings; large, nested, or complex payloads are rejected.").optional(),
|
|
6
6
|
thread_id: zod.z.string().describe("ID of the thread to modify")
|
|
7
7
|
}).describe("Request model for modifying an existing thread.");
|
|
8
8
|
const OpenaiModifyThreadOutput = zod.z.object({
|
|
9
9
|
id: zod.z.string().describe("The thread's unique identifier").nullable(),
|
|
10
10
|
object: zod.z.string().describe("Object type, always 'thread'").nullable(),
|
|
11
|
-
metadata: zod.z.
|
|
11
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Metadata key-value pairs attached to the thread"),
|
|
12
12
|
created_at: zod.z.number().int().describe("Unix timestamp when the thread was created").nullable()
|
|
13
|
-
}).describe("Response schema for the modified thread.");
|
|
13
|
+
}).passthrough().describe("Response schema for the modified thread.");
|
|
14
14
|
const openaiModifyThread = require_action.action("OPENAI_MODIFY_THREAD", {
|
|
15
15
|
slug: "openai-modify-thread",
|
|
16
16
|
name: "Modify thread",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modify-thread.cjs","names":["z","action"],"sources":["../../src/actions/modify-thread.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiModifyThreadInput = z.object({\n metadata: z.
|
|
1
|
+
{"version":3,"file":"modify-thread.cjs","names":["z","action"],"sources":["../../src/actions/modify-thread.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiModifyThreadInput = z.object({\n metadata: z.record(z.string(), z.unknown()).describe(\"Arbitrary JSON metadata to attach to the thread Values must be short strings; large, nested, or complex payloads are rejected.\").optional(),\n thread_id: z.string().describe(\"ID of the thread to modify\"),\n}).describe(\"Request model for modifying an existing thread.\");\nexport const OpenaiModifyThreadOutput = z.object({\n id: z.string().describe(\"The thread's unique identifier\").nullable(),\n object: z.string().describe(\"Object type, always 'thread'\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata key-value pairs attached to the thread\"),\n created_at: z.number().int().describe(\"Unix timestamp when the thread was created\").nullable(),\n}).passthrough().describe(\"Response schema for the modified thread.\");\n\nexport const openaiModifyThread = action(\"OPENAI_MODIFY_THREAD\", {\n slug: \"openai-modify-thread\",\n name: \"Modify thread\",\n description: \"Tool to modify an existing thread's metadata. Use after obtaining the thread ID when you need to update metadata.\",\n input: OpenaiModifyThreadInput,\n output: OpenaiModifyThreadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CAChM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;AAC7D,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -2,18 +2,18 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/actions/modify-thread.d.ts
|
|
4
4
|
declare const OpenaiModifyThreadInput: z.ZodObject<{
|
|
5
|
-
metadata: z.ZodOptional<z.
|
|
5
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6
6
|
thread_id: z.ZodString;
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const OpenaiModifyThreadOutput: z.ZodObject<{
|
|
9
9
|
id: z.ZodNullable<z.ZodString>;
|
|
10
10
|
object: z.ZodNullable<z.ZodString>;
|
|
11
|
-
metadata: z.
|
|
11
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12
12
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const openaiModifyThread: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
thread_id: string;
|
|
16
|
-
metadata?: Record<string,
|
|
16
|
+
metadata?: Record<string, unknown> | undefined;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { openaiModifyThread };
|
|
@@ -2,18 +2,18 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/actions/modify-thread.d.ts
|
|
4
4
|
declare const OpenaiModifyThreadInput: z.ZodObject<{
|
|
5
|
-
metadata: z.ZodOptional<z.
|
|
5
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6
6
|
thread_id: z.ZodString;
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const OpenaiModifyThreadOutput: z.ZodObject<{
|
|
9
9
|
id: z.ZodNullable<z.ZodString>;
|
|
10
10
|
object: z.ZodNullable<z.ZodString>;
|
|
11
|
-
metadata: z.
|
|
11
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12
12
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const openaiModifyThread: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
thread_id: string;
|
|
16
|
-
metadata?: Record<string,
|
|
16
|
+
metadata?: Record<string, unknown> | undefined;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { openaiModifyThread };
|
|
@@ -5,15 +5,15 @@ const openaiModifyThread = action("OPENAI_MODIFY_THREAD", {
|
|
|
5
5
|
name: "Modify thread",
|
|
6
6
|
description: "Tool to modify an existing thread's metadata. Use after obtaining the thread ID when you need to update metadata.",
|
|
7
7
|
input: z.object({
|
|
8
|
-
metadata: z.
|
|
8
|
+
metadata: z.record(z.string(), z.unknown()).describe("Arbitrary JSON metadata to attach to the thread Values must be short strings; large, nested, or complex payloads are rejected.").optional(),
|
|
9
9
|
thread_id: z.string().describe("ID of the thread to modify")
|
|
10
10
|
}).describe("Request model for modifying an existing thread."),
|
|
11
11
|
output: z.object({
|
|
12
12
|
id: z.string().describe("The thread's unique identifier").nullable(),
|
|
13
13
|
object: z.string().describe("Object type, always 'thread'").nullable(),
|
|
14
|
-
metadata: z.
|
|
14
|
+
metadata: z.record(z.string(), z.unknown()).describe("Metadata key-value pairs attached to the thread"),
|
|
15
15
|
created_at: z.number().int().describe("Unix timestamp when the thread was created").nullable()
|
|
16
|
-
}).describe("Response schema for the modified thread.")
|
|
16
|
+
}).passthrough().describe("Response schema for the modified thread.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { openaiModifyThread };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modify-thread.mjs","names":[],"sources":["../../src/actions/modify-thread.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiModifyThreadInput = z.object({\n metadata: z.
|
|
1
|
+
{"version":3,"file":"modify-thread.mjs","names":[],"sources":["../../src/actions/modify-thread.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiModifyThreadInput = z.object({\n metadata: z.record(z.string(), z.unknown()).describe(\"Arbitrary JSON metadata to attach to the thread Values must be short strings; large, nested, or complex payloads are rejected.\").optional(),\n thread_id: z.string().describe(\"ID of the thread to modify\"),\n}).describe(\"Request model for modifying an existing thread.\");\nexport const OpenaiModifyThreadOutput = z.object({\n id: z.string().describe(\"The thread's unique identifier\").nullable(),\n object: z.string().describe(\"Object type, always 'thread'\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata key-value pairs attached to the thread\"),\n created_at: z.number().int().describe(\"Unix timestamp when the thread was created\").nullable(),\n}).passthrough().describe(\"Response schema for the modified thread.\");\n\nexport const openaiModifyThread = action(\"OPENAI_MODIFY_THREAD\", {\n slug: \"openai-modify-thread\",\n name: \"Modify thread\",\n description: \"Tool to modify an existing thread's metadata. Use after obtaining the thread ID when you need to update metadata.\",\n input: OpenaiModifyThreadInput,\n output: OpenaiModifyThreadOutput,\n});\n"],"mappings":";;AAeA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfqC,EAAE,OAAO;EAC9C,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;EAChM,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC7D,CAAC,CAAC,CAAC,SAAS,iDAYH;CACP,QAZsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACrE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD;EACtG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -3,7 +3,7 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/modify-vector-store.ts
|
|
4
4
|
const OpenaiModifyVectorStoreInput = zod.z.object({
|
|
5
5
|
name: zod.z.string().describe("The name of the vector store.").optional(),
|
|
6
|
-
metadata: zod.z.
|
|
6
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Set of up to 16 key-value pairs that can be attached to the vector store. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. Pass null to clear existing metadata.").optional(),
|
|
7
7
|
expires_after: zod.z.object({
|
|
8
8
|
days: zod.z.number().int().describe("The number of days after the anchor time that the vector store will expire."),
|
|
9
9
|
anchor: zod.z.enum(["last_active_at"]).describe("Anchor timestamp after which the expiration policy applies. Supported anchors: 'last_active_at'.")
|
|
@@ -21,25 +21,25 @@ const OpenaiModifyVectorStore_FileCountsSchema = zod.z.object({
|
|
|
21
21
|
cancelled: zod.z.number().int().describe("The number of files that were cancelled").nullable(),
|
|
22
22
|
completed: zod.z.number().int().describe("The number of files that have been successfully processed").nullable(),
|
|
23
23
|
in_progress: zod.z.number().int().describe("The number of files that are currently being processed").nullable()
|
|
24
|
-
}).describe("File processing counts for a vector store.");
|
|
24
|
+
}).passthrough().describe("File processing counts for a vector store.");
|
|
25
25
|
const OpenaiModifyVectorStore_ExpirationAnchorSchema = zod.z.enum(["last_active_at"]).describe("Anchor timestamp for expiration policy.");
|
|
26
26
|
const OpenaiModifyVectorStore_ExpirationPolicySchema = zod.z.object({
|
|
27
27
|
days: zod.z.number().int().describe("The number of days after the anchor time that the vector store will expire.").nullable(),
|
|
28
28
|
anchor: OpenaiModifyVectorStore_ExpirationAnchorSchema.nullable()
|
|
29
|
-
}).describe("Expiration policy for a vector store.");
|
|
29
|
+
}).passthrough().describe("Expiration policy for a vector store.");
|
|
30
30
|
const OpenaiModifyVectorStoreOutput = zod.z.object({
|
|
31
31
|
id: zod.z.string().describe("The identifier, which can be referenced in API endpoints").nullable(),
|
|
32
32
|
name: zod.z.string().describe("The name of the vector store").nullable(),
|
|
33
33
|
object: zod.z.string().describe("The object type, which is always 'vector_store'").nullable(),
|
|
34
34
|
status: OpenaiModifyVectorStore_VectorStoreStatusSchema.nullable(),
|
|
35
|
-
metadata: zod.z.
|
|
35
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Set of up to 16 key-value pairs attached to the vector store").nullable().optional(),
|
|
36
36
|
created_at: zod.z.number().int().describe("The Unix timestamp (in seconds) for when the vector store was created").nullable(),
|
|
37
37
|
expires_at: zod.z.number().int().describe("The Unix timestamp (in seconds) for when the vector store will expire").nullable().optional(),
|
|
38
38
|
file_counts: OpenaiModifyVectorStore_FileCountsSchema.nullable(),
|
|
39
39
|
usage_bytes: zod.z.number().int().describe("The total number of bytes used by the files in the vector store").nullable(),
|
|
40
40
|
expires_after: OpenaiModifyVectorStore_ExpirationPolicySchema.nullable().optional(),
|
|
41
41
|
last_active_at: zod.z.number().int().describe("The Unix timestamp (in seconds) for when the vector store was last active").nullable().optional()
|
|
42
|
-
}).describe("Response schema for modified vector store.");
|
|
42
|
+
}).passthrough().describe("Response schema for modified vector store.");
|
|
43
43
|
const openaiModifyVectorStore = require_action.action("OPENAI_MODIFY_VECTOR_STORE", {
|
|
44
44
|
slug: "openai-modify-vector-store",
|
|
45
45
|
name: "Modify Vector Store",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modify-vector-store.cjs","names":["z","action"],"sources":["../../src/actions/modify-vector-store.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiModifyVectorStoreInput = z.object({\n name: z.string().describe(\"The name of the vector store.\").optional(),\n metadata: z.
|
|
1
|
+
{"version":3,"file":"modify-vector-store.cjs","names":["z","action"],"sources":["../../src/actions/modify-vector-store.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiModifyVectorStoreInput = z.object({\n name: z.string().describe(\"The name of the vector store.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of up to 16 key-value pairs that can be attached to the vector store. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. Pass null to clear existing metadata.\").optional(),\n expires_after: z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire.\"),\n anchor: z.enum([\"last_active_at\"]).describe(\"Anchor timestamp after which the expiration policy applies. Supported anchors: 'last_active_at'.\"),\n}).describe(\"Expiration policy for a vector store.\").optional(),\n vector_store_id: z.string().describe(\"The ID of the vector store to modify.\"),\n}).describe(\"Request model for modifying a vector store.\");\nconst OpenaiModifyVectorStore_VectorStoreStatusSchema = z.enum([\"expired\", \"in_progress\", \"completed\"]).describe(\"Status of a vector store.\");\nconst OpenaiModifyVectorStore_FileCountsSchema = z.object({\n total: z.number().int().describe(\"The total number of files\").nullable(),\n failed: z.number().int().describe(\"The number of files that have failed to process\").nullable(),\n cancelled: z.number().int().describe(\"The number of files that were cancelled\").nullable(),\n completed: z.number().int().describe(\"The number of files that have been successfully processed\").nullable(),\n in_progress: z.number().int().describe(\"The number of files that are currently being processed\").nullable(),\n}).passthrough().describe(\"File processing counts for a vector store.\");\nconst OpenaiModifyVectorStore_ExpirationAnchorSchema = z.enum([\"last_active_at\"]).describe(\"Anchor timestamp for expiration policy.\");\nconst OpenaiModifyVectorStore_ExpirationPolicySchema = z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire.\").nullable(),\n anchor: OpenaiModifyVectorStore_ExpirationAnchorSchema.nullable(),\n}).passthrough().describe(\"Expiration policy for a vector store.\");\nexport const OpenaiModifyVectorStoreOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints\").nullable(),\n name: z.string().describe(\"The name of the vector store\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store'\").nullable(),\n status: OpenaiModifyVectorStore_VectorStoreStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of up to 16 key-value pairs attached to the vector store\").nullable().optional(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was created\").nullable(),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store will expire\").nullable().optional(),\n file_counts: OpenaiModifyVectorStore_FileCountsSchema.nullable(),\n usage_bytes: z.number().int().describe(\"The total number of bytes used by the files in the vector store\").nullable(),\n expires_after: OpenaiModifyVectorStore_ExpirationPolicySchema.nullable().optional(),\n last_active_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was last active\").nullable().optional(),\n}).passthrough().describe(\"Response schema for modified vector store.\");\n\nexport const openaiModifyVectorStore = action(\"OPENAI_MODIFY_VECTOR_STORE\", {\n slug: \"openai-modify-vector-store\",\n name: \"Modify Vector Store\",\n description: \"Tool to modify an existing vector store. Use when you need to update the name, expiration policy, or metadata of a vector store.\",\n input: OpenaiModifyVectorStoreInput,\n output: OpenaiModifyVectorStoreOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iNAAiN,CAAC,CAAC,SAAS;CACjR,eAAeA,IAAAA,EAAE,OAAO;EACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E;EAC7G,QAAQA,IAAAA,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,kGAAkG;CAChJ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5D,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC9E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,kDAAkDA,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AS;CACxF,QAAQ,gDAAgD,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,aAAa,yCAAyC,SAAS;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACnH,eAAe,+CAA+C,SAAS,CAAC,CAAC,SAAS;CAClF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/modify-vector-store.d.ts
|
|
4
4
|
declare const OpenaiModifyVectorStoreInput: z.ZodObject<{
|
|
5
5
|
name: z.ZodOptional<z.ZodString>;
|
|
6
|
-
metadata: z.ZodOptional<z.
|
|
6
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7
7
|
expires_after: z.ZodOptional<z.ZodObject<{
|
|
8
8
|
days: z.ZodNumber;
|
|
9
9
|
anchor: z.ZodEnum<{
|
|
@@ -21,7 +21,7 @@ declare const OpenaiModifyVectorStoreOutput: z.ZodObject<{
|
|
|
21
21
|
completed: "completed";
|
|
22
22
|
expired: "expired";
|
|
23
23
|
}>>;
|
|
24
|
-
metadata: z.ZodOptional<z.ZodNullable<z.
|
|
24
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
25
25
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
26
26
|
expires_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
file_counts: z.ZodNullable<z.ZodObject<{
|
|
@@ -30,20 +30,20 @@ declare const OpenaiModifyVectorStoreOutput: z.ZodObject<{
|
|
|
30
30
|
cancelled: z.ZodNullable<z.ZodNumber>;
|
|
31
31
|
completed: z.ZodNullable<z.ZodNumber>;
|
|
32
32
|
in_progress: z.ZodNullable<z.ZodNumber>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
34
|
usage_bytes: z.ZodNullable<z.ZodNumber>;
|
|
35
35
|
expires_after: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36
36
|
days: z.ZodNullable<z.ZodNumber>;
|
|
37
37
|
anchor: z.ZodNullable<z.ZodEnum<{
|
|
38
38
|
last_active_at: "last_active_at";
|
|
39
39
|
}>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>>;
|
|
41
41
|
last_active_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>;
|
|
43
43
|
declare const openaiModifyVectorStore: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
44
44
|
vector_store_id: string;
|
|
45
45
|
name?: string | undefined;
|
|
46
|
-
metadata?: Record<string,
|
|
46
|
+
metadata?: Record<string, unknown> | undefined;
|
|
47
47
|
expires_after?: {
|
|
48
48
|
days: number;
|
|
49
49
|
anchor: "last_active_at";
|