-
Notifications
You must be signed in to change notification settings - Fork 5.4k
[ACTION] OpenAI Responses API #17475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Skipped Deployments
|
WalkthroughA new action, "Chat With Responses API," was added to support OpenAI's Responses API with multiple tool integration, including MCP servers. Supporting helpers for deep JSON parsing were implemented. Several existing actions had their version numbers incremented. The OpenAI package updated its dependencies and version. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Action ("Chat With Responses API")
participant OpenAI API
participant MCP Server (optional)
User->>Action: Provide input, select tools, set options
Action->>MCP Server: (Optional) Fetch available tools (async)
Action->>Action: Validate JSON schema if needed
Action->>OpenAI API: Send chat request with tools, options, and input
OpenAI API-->>Action: Return response
Action-->>User: Export summary and chat output, return full response
Assessment against linked issues
Poem
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
components/openai/actions/chat-using-file-search/chat-using-file-search.mjsOops! Something went wrong! :( ESLint: 8.57.1 Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonc-eslint-parser' imported from /eslint.config.mjs components/openai/actions/chat-using-functions/chat-using-functions.mjsOops! Something went wrong! :( ESLint: 8.57.1 Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonc-eslint-parser' imported from /eslint.config.mjs components/openai/actions/chat-using-web-search/chat-using-web-search.mjsOops! Something went wrong! :( ESLint: 8.57.1 Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonc-eslint-parser' imported from /eslint.config.mjs
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 4
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
pnpm-lock.yaml
is excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (1)
components/openai/actions/chat-with-opeai-responses-api/chat-with-openai-responses-api.mjs
(1 hunks)
🧰 Additional context used
🧠 Learnings (1)
components/openai/actions/chat-with-opeai-responses-api/chat-with-openai-responses-api.mjs (3)
Learnt from: GTFalcao
PR: PipedreamHQ/pipedream#12731
File: components/hackerone/actions/get-members/get-members.mjs:3-28
Timestamp: 2024-07-04T18:11:59.822Z
Learning: When exporting a summary message in the `run` method of an action, ensure the message is correctly formatted. For example, in the `hackerone-get-members` action, the correct format is `Successfully retrieved ${response.data.length} members`.
Learnt from: GTFalcao
PR: PipedreamHQ/pipedream#12731
File: components/hackerone/actions/get-members/get-members.mjs:3-28
Timestamp: 2024-10-08T15:33:38.240Z
Learning: When exporting a summary message in the `run` method of an action, ensure the message is correctly formatted. For example, in the `hackerone-get-members` action, the correct format is `Successfully retrieved ${response.data.length} members`.
Learnt from: GTFalcao
PR: PipedreamHQ/pipedream#16954
File: components/salesloft/salesloft.app.mjs:14-23
Timestamp: 2025-06-04T17:52:05.780Z
Learning: In the Salesloft API integration (components/salesloft/salesloft.app.mjs), the _makeRequest method returns response.data which directly contains arrays for list endpoints like listPeople, listCadences, listUsers, and listAccounts. The propDefinitions correctly call .map() directly on these responses without needing to destructure a nested data property.
⏰ Context from checks skipped due to timeout of 90000ms (4)
- GitHub Check: pnpm publish
- GitHub Check: Lint Code Base
- GitHub Check: Publish TypeScript components
- GitHub Check: Verify TypeScript components
components/openai/actions/chat-with-opeai-responses-api/chat-with-openai-responses-api.mjs
Outdated
Show resolved
Hide resolved
components/openai/actions/chat-with-opeai-responses-api/chat-with-openai-responses-api.mjs
Outdated
Show resolved
Hide resolved
components/openai/actions/chat-with-opeai-responses-api/chat-with-openai-responses-api.mjs
Outdated
Show resolved
Hide resolved
components/openai/actions/chat-with-opeai-responses-api/chat-with-openai-responses-api.mjs
Outdated
Show resolved
Hide resolved
cfc66bc
to
b2ff889
Compare
b2ff889
to
478ab4e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
pnpm-lock.yaml
is excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (12)
components/openai/actions/chat-using-file-search/chat-using-file-search.mjs
(1 hunks)components/openai/actions/chat-using-functions/chat-using-functions.mjs
(1 hunks)components/openai/actions/chat-using-web-search/chat-using-web-search.mjs
(1 hunks)components/openai/actions/chat-with-responses-api/chat-with-responses-api.mjs
(1 hunks)components/openai/actions/chat/chat.mjs
(1 hunks)components/openai/actions/classify-items-into-categories/classify-items-into-categories.mjs
(1 hunks)components/openai/actions/create-embeddings/create-embeddings.mjs
(1 hunks)components/openai/actions/send-prompt/send-prompt.mjs
(1 hunks)components/openai/actions/summarize/summarize.mjs
(1 hunks)components/openai/actions/translate-text/translate-text.mjs
(1 hunks)components/openai/common/helpers.mjs
(1 hunks)components/openai/package.json
(2 hunks)
✅ Files skipped from review due to trivial changes (9)
- components/openai/actions/create-embeddings/create-embeddings.mjs
- components/openai/actions/translate-text/translate-text.mjs
- components/openai/actions/summarize/summarize.mjs
- components/openai/actions/chat-using-functions/chat-using-functions.mjs
- components/openai/actions/chat/chat.mjs
- components/openai/actions/chat-using-web-search/chat-using-web-search.mjs
- components/openai/actions/chat-using-file-search/chat-using-file-search.mjs
- components/openai/actions/send-prompt/send-prompt.mjs
- components/openai/actions/classify-items-into-categories/classify-items-into-categories.mjs
🚧 Files skipped from review as they are similar to previous changes (2)
- components/openai/package.json
- components/openai/common/helpers.mjs
🧰 Additional context used
🧠 Learnings (1)
components/openai/actions/chat-with-responses-api/chat-with-responses-api.mjs (2)
Learnt from: GTFalcao
PR: PipedreamHQ/pipedream#12731
File: components/hackerone/actions/get-members/get-members.mjs:3-28
Timestamp: 2024-07-04T18:11:59.822Z
Learning: When exporting a summary message in the `run` method of an action, ensure the message is correctly formatted. For example, in the `hackerone-get-members` action, the correct format is `Successfully retrieved ${response.data.length} members`.
Learnt from: GTFalcao
PR: PipedreamHQ/pipedream#12731
File: components/hackerone/actions/get-members/get-members.mjs:3-28
Timestamp: 2024-10-08T15:33:38.240Z
Learning: When exporting a summary message in the `run` method of an action, ensure the message is correctly formatted. For example, in the `hackerone-get-members` action, the correct format is `Successfully retrieved ${response.data.length} members`.
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: Publish TypeScript components
- GitHub Check: Lint Code Base
- GitHub Check: Verify TypeScript components
WHY
Resolves #17031 authored by @jeevikasirwani
Summary by CodeRabbit
New Features
Bug Fixes
Chores