You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: only disable direct_response for dynamic_space INVOKE operation
Previously added dynamic_space to isGradioTool(), but this was too broad.
The dynamic_space tool has two operations:
- view_parameters: can use direct_response=true (no streaming needed)
- invoke: needs direct_response=false (requires streaming/progress)
Solution:
- Keep isGradioTool() focused on gr<number>_/grp<number>_ pattern tools
- Enhanced isGradioToolCall() to check dynamic_space arguments
- Only sets direct_response=false when operation="invoke"
This allows view_parameters to remain fast with direct JSON responses
while invoke gets proper streaming support.
0 commit comments