basic llm request stream
This commit is contained in:
1 parent
f74e4d1043
commit
a92cc76a9a
66 files changed
+1496
-158
No files matched your search
@@ -9,6 +9,7 @@ drop table user_teams;
|
||||
drop table channels;
|
||||
drop table tools;
|
||||
drop table tasks;
|
||||
drop table history;
|
||||
drop table chats;
|
||||
drop table chat_contents;
|
||||
drop table files;
|
||||
drop table agents;
|
||||
@@ -117,14 +117,30 @@ create table tasks (
|
||||
_version text not null
|
||||
);
|
||||
|
||||
create table history (
|
||||
create table chats (
|
||||
id text not null primary key,
|
||||
task_id text not null,
|
||||
start_datetime numeric,
|
||||
team_id text not null,
|
||||
start_datetime numeric not null,
|
||||
end_datetime numeric,
|
||||
prompt text not null,
|
||||
log text not null,
|
||||
response text not null,
|
||||
agent_id text,
|
||||
user_id text,
|
||||
task_id text,
|
||||
title text,
|
||||
_date_created numeric not null default current_timestamp,
|
||||
_date_updated numeric,
|
||||
_version text not null
|
||||
);
|
||||
|
||||
create table chat_messages (
|
||||
id text not null primary key,
|
||||
team_id text not null,
|
||||
chat_id text not null,
|
||||
content_datetime numeric,
|
||||
role text not null,
|
||||
content text,
|
||||
agent_id text,
|
||||
tool_call_id text,
|
||||
tool_calls text,
|
||||
_date_created numeric not null default current_timestamp,
|
||||
_date_updated numeric,
|
||||
_version text not null
|
||||
|
||||
Reference in new issue
Block a user