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
Any ideas about chat histories that over time become too large that we cannot scroll up and down and no longer fit in the page itself ? Is this a limittion of fastUI rather than your app ?
@self.get(
"/chat/{session_id}",
response_model=FastUI,
response_model_exclude_none=True,
)
async def chat_ui(
session_id: Annotated[str, Path(title="The ChatHistory SessionID.")],
) -> list[AnyComponent]:
"""
Main endpoint for showing the Chat UI and handling user input.
"""
return [
c.Page(
components=[
c.ServerLoad(
path=f"/chat/{session_id}/history",
load_trigger=PageEvent(name="chat-load"),
components=[],
),
ChatInputForm(
submit_url=f"/api/chat/{session_id}/generate",
fire_page_event="chat-load",
),
],
class_name="fixed-bottom row justify-content-center row-cols-lg-2",
)
]
The text was updated successfully, but these errors were encountered:
Any ideas about chat histories that over time become too large that we cannot scroll up and down and no longer fit in the page itself ? Is this a limittion of fastUI rather than your app ?
The text was updated successfully, but these errors were encountered: