Skip to content

Comments

Refine OpenAI chat component with Vercel AI SDK#3

Merged
betterclever merged 13 commits intomainfrom
codex/add-llm-input-output-component
Oct 24, 2025
Merged

Refine OpenAI chat component with Vercel AI SDK#3
betterclever merged 13 commits intomainfrom
codex/add-llm-input-output-component

Conversation

@betterclever
Copy link
Contributor

Summary

  • refactor the OpenAI chat component to call providers through the Vercel AI SDK with base URL overrides and token usage output
  • add lightweight type declarations for the SDK and adjust worker TypeScript configuration to remove the bun-types requirement
  • declare new ai-related dependencies for the worker package

Testing

  • bun run typecheck (fails: missing dependency type definitions in this environment)

https://chatgpt.com/codex/tasks/task_e_68ee69f3a8f4832986ed73144aee9450

betterclever and others added 10 commits October 23, 2025 19:47
This commit includes all currently staged changes.

Changes since last commit (HEAD):
 11 files changed, 299 insertions(+), 48 deletions(-)

Files changed since HEAD (name-status):
M	backend/package.json
M	backend/src/main.ts
M	bun.lock
M	frontend/src/components/workflow/RunWorkflowDialog.tsx
M	frontend/src/components/workflow/RuntimeInputsEditor.tsx
M	frontend/src/components/workflow/WorkflowNode.tsx
M	frontend/src/pages/WorkflowBuilder.tsx
M	frontend/src/utils/connectionValidation.ts
M	worker/src/components/__tests__/trigger-manual.test.ts
M	worker/src/components/core/openai-chat.ts
M	worker/src/components/core/trigger-manual.ts
- Add missing WorkflowNode type export in workflow-graph.dto
- Fix RequestInfo type annotation in log-stream service test
- Resolve never type inference issue in AI agent test
- Add Date to string conversion in workflow controller API responses
- Fix ServiceWorkflowResponseDto typo in workflows service
- Consolidate type definitions in DTOs and remove duplicates

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

Co-Authored-By: Claude <noreply@anthropic.com>
- Fix unsafe type assertions in component registry
- Update import paths with explicit extensions for NodeNext resolution
- Correct subscribe method signature in execution timeline store
@betterclever betterclever force-pushed the codex/add-llm-input-output-component branch from 1215552 to c82ade7 Compare October 24, 2025 04:05
@betterclever betterclever changed the base branch from monorepo-bootstrap to main October 24, 2025 04:05
@betterclever betterclever merged commit 44d83a8 into main Oct 24, 2025
@LuD1161 LuD1161 deleted the codex/add-llm-input-output-component branch December 19, 2025 13:20
krishna9358 added a commit that referenced this pull request Feb 20, 2026
- Sanitize {{secret:SECRET_ID}} references in publish validation (#1)
- Migrate UseTemplateModal from Zustand to TanStack Query mutation (#2)
- Reset modal state on template/open change to prevent stale data (#3)
- Fetch GitHub repo config dynamically with fallback defaults (#4)
- Use snake_case keys for analytics event properties (#5)

Signed-off-by: Krishna Mohan <krishanmohank974@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants