File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -898,8 +898,9 @@ export class OpenAIAdapter implements ProtocolAdapter {
898898 // ChatGPT doesn't support partial/streaming tool input
899899 // Return a no-op unsubscribe function
900900 this . log ( "debug" , "onToolInputPartial is not supported on ChatGPT" ) ;
901- // eslint-disable-next-line @typescript-eslint/no-empty-function
902- return ( ) => { } ;
901+ return ( ) => {
902+ /* noop — ChatGPT doesn't support partial tool input */
903+ } ;
903904 }
904905
905906 // === Bidirectional Tool Support ===
Original file line number Diff line number Diff line change @@ -223,8 +223,9 @@ export function createAppsClient<T extends ToolDefs = ToolDefs>(
223223 setupSizeChangedNotifications ( ) : ( ) => void {
224224 // Only run in browser environments
225225 if ( typeof window === "undefined" || typeof ResizeObserver === "undefined" ) {
226- // eslint-disable-next-line @typescript-eslint/no-empty-function
227- return ( ) => { } ;
226+ return ( ) => {
227+ /* noop — no ResizeObserver in non-browser env */
228+ } ;
228229 }
229230
230231 const observer = new ResizeObserver ( ( entries ) => {
You can’t perform that action at this time.
0 commit comments