Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions client/src/components/chat/openai-component-renderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@ interface OpenAIComponentRendererProps {
serverId?: string; // Server ID for fetching ui:// resources
}

interface WindowOpenAIAPI {
toolInput: Record<string, any>;
toolOutput: any;
setWidgetState: (state: any) => Promise<void>;
callTool: (toolName: string, params?: Record<string, any>) => Promise<any>;
sendFollowupTurn: (message: string) => Promise<void>;
}

/**
* OpenAIComponentRenderer renders OpenAI Apps SDK components
* Provides window.openai API bridge for component interaction
Expand All @@ -31,7 +23,6 @@ export function OpenAIComponentRenderer({
onCallTool,
onSendFollowup,
className,
uiResourceBlob,
serverId,
}: OpenAIComponentRendererProps) {
const iframeRef = useRef<HTMLIFrameElement>(null);
Expand Down
1 change: 0 additions & 1 deletion client/src/components/chat/tool-call.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,6 @@ export function ToolCallDisplay({
toolResult={toolResult}
onCallTool={onCallTool}
onSendFollowup={onSendFollowup}
uiResourceBlob={openaiComponent.htmlBlob}
serverId={serverId}
/>
);
Expand Down
1 change: 0 additions & 1 deletion client/src/components/tools/ResultsPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,6 @@ export function ResultsPanel({
return {};
}}
onSendFollowup={onSendFollowup}
uiResourceBlob={openaiComponent.htmlBlob}
serverId={serverId}
/>
);
Expand Down