Files
klz-cables.com/.pnpm-store/v10/files/9f/d5f3622fd7302ba8d8faec587f547fc9ce1f8e7a6f5538c1ca20039c2141ae81f3686267f905b74812f9f4fedf2b23d733749fd5c3deed6954e55909ebf642
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

33 lines
1.1 KiB
Plaintext

const OPENAI_INTEGRATION_NAME = 'OpenAI';
// https://platform.openai.com/docs/quickstart?api-mode=responses
// https://platform.openai.com/docs/quickstart?api-mode=chat
// https://platform.openai.com/docs/api-reference/conversations
const INSTRUMENTED_METHODS = [
'responses.create',
'chat.completions.create',
'embeddings.create',
// Conversations API - for conversation state management
// https://platform.openai.com/docs/guides/conversation-state
'conversations.create',
] ;
const RESPONSES_TOOL_CALL_EVENT_TYPES = [
'response.output_item.added',
'response.function_call_arguments.delta',
'response.function_call_arguments.done',
'response.output_item.done',
] ;
const RESPONSE_EVENT_TYPES = [
'response.created',
'response.in_progress',
'response.failed',
'response.completed',
'response.incomplete',
'response.queued',
'response.output_text.delta',
...RESPONSES_TOOL_CALL_EVENT_TYPES,
] ;
export { INSTRUMENTED_METHODS, OPENAI_INTEGRATION_NAME, RESPONSES_TOOL_CALL_EVENT_TYPES, RESPONSE_EVENT_TYPES };
//# sourceMappingURL=constants.js.map