wip: file part source in server/api (optional)

This commit is contained in:
adamdotdevin
2025-07-20 05:38:52 -05:00
parent c18f9ece69
commit 2bf9d5d4ec
7 changed files with 438 additions and 27 deletions

View File

@@ -70,6 +70,9 @@ type Config struct {
// Control sharing behavior:'manual' allows manual sharing via commands, 'auto'
// enables automatic sharing, 'disabled' disables all sharing
Share ConfigShare `json:"share"`
// Small model to use for tasks like summarization and title generation in the
// format of provider/model
SmallModel string `json:"small_model"`
// Theme name to use for the interface
Theme string `json:"theme"`
// Custom username to display in conversations instead of system username
@@ -93,6 +96,7 @@ type configJSON struct {
Model apijson.Field
Provider apijson.Field
Share apijson.Field
SmallModel apijson.Field
Theme apijson.Field
Username apijson.Field
raw string