Skip to content

Commit

Permalink
Add logging for reasoning content and update reasoning_content column… (
Browse files Browse the repository at this point in the history
#591)

* Add logging for reasoning content and update reasoning_content column to allow variable length in schema.

* Remove debug log statement for `delta.ReasoningContent` in `chatStream` function.
  • Loading branch information
swuecho authored Feb 4, 2025
1 parent 4452483 commit 974d6e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/sqlc/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ ALTER TABLE chat_message ADD COLUMN IF NOT EXISTS token_count INTEGER DEFAULT 0
ALTER TABLE chat_message ADD COLUMN IF NOT EXISTS is_pin BOOLEAN NOT NULL DEFAULT false;
ALTER TABLE chat_message ADD COLUMN IF NOT EXISTS llm_summary character varying(1024) NOT NULL DEFAULT '';
ALTER TABLE chat_message ADD COLUMN IF NOT EXISTS model character varying(255) NOT NULL DEFAULT '';
ALTER TABLE chat_message ADD COLUMN IF NOT EXISTS reasoning_content character varying(255) NOT NULL DEFAULT '';
ALTER TABLE chat_message ADD COLUMN IF NOT EXISTS reasoning_content character varying NOT NULL DEFAULT '';

-- add hash index on uuid
CREATE INDEX IF NOT EXISTS chat_message_uuid_idx ON chat_message using hash (uuid) ;
Expand Down

0 comments on commit 974d6e5

Please sign in to comment.