Add wait_for_response functionality to ToolResource and related components. Update API models, schemas, and routers to support new parameter. Enhance UI components to manage wait_for_response state, ensuring proper integration across the application.
This commit is contained in:
@@ -98,6 +98,7 @@ class ToolResource(Base):
|
||||
http_timeout_ms: Mapped[int] = mapped_column(Integer, default=10000)
|
||||
parameter_schema: Mapped[dict] = mapped_column(JSON, default=dict)
|
||||
parameter_defaults: Mapped[dict] = mapped_column(JSON, default=dict)
|
||||
wait_for_response: Mapped[bool] = mapped_column(default=False)
|
||||
enabled: Mapped[bool] = mapped_column(default=True)
|
||||
is_system: Mapped[bool] = mapped_column(default=False)
|
||||
created_at: Mapped[datetime] = mapped_column(DateTime, default=datetime.utcnow)
|
||||
|
||||
Reference in New Issue
Block a user