Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
bLopata committed Oct 8, 2024
1 parent 079cc7c commit 4cc65bc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 8 additions & 0 deletions api/routers/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ def convo_turn():
user_id=user.id,
content=response,
)
honcho.apps.users.sessions.metamessages.create(
app_id=app.id,
session_id=str(inp.conversation_id),
user_id=user.id,
message_id=new_ai_message.id,
metamessage_type="thought",
content=thought,
)
return StreamingResponse(convo_turn())

@router.get("/thought/{message_id}")
Expand Down
1 change: 0 additions & 1 deletion www/components/messagebox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ export default function MessageBox({
className="rounded-full w-6 h-6 lg:w-12 lg:h-12"
/>
)}
``
<div className="flex flex-col gap-2 w-full">
{loading ? (
<Skeleton count={4} />
Expand Down

0 comments on commit 4cc65bc

Please sign in to comment.