feat(summary): send complete articles within user budget (#39)
This commit is contained in:
@ -1,8 +1,16 @@
|
||||
import { api } from './client'
|
||||
|
||||
export interface SummaryModelOption { id: string; provider: string; model: string; label?: string }
|
||||
export interface PromptCapacity {
|
||||
context_window_tokens: number
|
||||
input_limit_tokens: number
|
||||
output_reserve_tokens: number
|
||||
token_count_method: string
|
||||
framing_tokens: number
|
||||
}
|
||||
export interface SummaryModelOption { id: string; provider: string; model: string; label?: string; prompt_capacity?: PromptCapacity | null }
|
||||
|
||||
export interface UserPreferences {
|
||||
summary_prompt_token_budget?: number
|
||||
summary_model_id?: string | null
|
||||
language: 'fr' | 'en'
|
||||
ranking_mode: 'title' | 'title_content'
|
||||
|
||||
Reference in New Issue
Block a user