mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
refactor: remove max_context_load_time and max_context_tokens from bot settings
These two fields controlled history context window (time-based) and token-based trimming. They are no longer needed — the resolver now always uses the hardcoded 24-hour default and skips token-based history trimming.
This commit is contained in:
@@ -1447,8 +1447,6 @@ export type SettingsSettings = {
|
||||
heartbeat_interval?: number;
|
||||
heartbeat_model_id?: string;
|
||||
language?: string;
|
||||
max_context_load_time?: number;
|
||||
max_context_tokens?: number;
|
||||
memory_provider_id?: string;
|
||||
reasoning_effort?: string;
|
||||
reasoning_enabled?: boolean;
|
||||
@@ -1468,8 +1466,6 @@ export type SettingsUpsertRequest = {
|
||||
heartbeat_interval?: number;
|
||||
heartbeat_model_id?: string;
|
||||
language?: string;
|
||||
max_context_load_time?: number;
|
||||
max_context_tokens?: number;
|
||||
memory_provider_id?: string;
|
||||
reasoning_effort?: string;
|
||||
reasoning_enabled?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user