Skip to content

Commit

Permalink
Merge pull request #144 from MervinPraison/develop
Browse files Browse the repository at this point in the history
Fixing DB Storing issue for PraisonAI Chat
  • Loading branch information
MervinPraison authored Aug 18, 2024
2 parents 8b34cff + f57ede2 commit 28088ab
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions praisonai/ui/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ def initialize_db():
type TEXT NOT NULL,
threadId UUID NOT NULL,
parentId UUID,
disableFeedback BOOLEAN NOT NULL,
streaming BOOLEAN NOT NULL,
waitForAnswer BOOLEAN,
isError BOOLEAN,
metadata JSONB,
disableFeedback BOOLEAN NOT NULL DEFAULT 0,
streaming BOOLEAN NOT NULL DEFAULT 0,
waitForAnswer BOOLEAN DEFAULT 0,
isError BOOLEAN NOT NULL DEFAULT 0,
metadata JSONB DEFAULT '{}',
tags TEXT[],
input TEXT,
output TEXT,
Expand Down

0 comments on commit 28088ab

Please sign in to comment.