feat: better chat support for thinking
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
diesel::table! {
|
||||
messages (id) {
|
||||
id -> Integer,
|
||||
session_id -> Integer,
|
||||
user -> Bool,
|
||||
reasoning -> Nullable<Text>,
|
||||
reasoning_complete -> Bool,
|
||||
content -> Text,
|
||||
}
|
||||
}
|
||||
|
||||
diesel::table! {
|
||||
projects (id) {
|
||||
id -> Integer,
|
||||
@@ -54,4 +65,5 @@ diesel::table! {
|
||||
}
|
||||
|
||||
diesel::joinable!(sessions -> projects (project_id));
|
||||
diesel::allow_tables_to_appear_in_same_query!(preferences, projects, sessions);
|
||||
diesel::joinable!(messages -> sessions (session_id));
|
||||
diesel::allow_tables_to_appear_in_same_query!(messages, preferences, projects, sessions);
|
||||
|
||||
Reference in New Issue
Block a user