typebot.io/packages/forge
Baptiste Arnaud 20d11a5678
Add Ask Model action using OpenAI Responses API (#2455)
## Summary

- **New "Ask Model" action** in the OpenAI block using the Responses API
(`openai.responses.stream()`), supporting multi-turn conversations via
`previous_response_id`, built-in tools (file search with vector store
IDs, web search, code interpreter), custom function calling, and
streaming.
- **Deprecated "Ask Assistant"** action: hidden from the action dropdown
(still functional for existing typebots), with Sentry tracking for
production usage monitoring.
- **Updated template** (`openai-assistant-chat.json`) to use the new Ask
Model action with `gpt-5.4`.
- **Merged `chatModels` + `reasoningModels`** into a single `models`
list in constants.
- **Updated docs** replacing Ask Assistant documentation with Ask Model.

## Test plan
- [ ] Create a typebot with OpenAI → "Ask Model", configure model +
message + instructions, verify streaming works
- [ ] Test multi-turn: verify Response ID variable persists across
exchanges
- [ ] Test built-in tools: web search toggle, vector store IDs tag
input, code interpreter toggle
- [ ] Test custom function calling loop
- [ ] Verify "Ask Assistant" still works for existing typebots but is
hidden from the dropdown for new ones
- [ ] Verify the template loads correctly in the builder

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 14:02:35 +00:00
..
blocks Add Ask Model action using OpenAI Responses API (#2455) 2026-04-13 14:02:35 +00:00
cli 🔧 Remove "baseUrl": "." from tsconfigs 2026-03-25 16:40:12 +01:00
core Add Ask Model action using OpenAI Responses API (#2455) 2026-04-13 14:02:35 +00:00
repository 🔧 Remove "baseUrl": "." from tsconfigs 2026-03-25 16:40:12 +01:00