File size: 1,621 Bytes
3d700dd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | import { Settings } from "#/types/settings";
export const LATEST_SETTINGS_VERSION = 5;
export const DEFAULT_SETTINGS: Settings = {
llm_model: "openai/gpt-5.6-sol",
llm_base_url: "",
agent: "CodeActAgent",
language: "en",
llm_api_key: null,
llm_api_key_set: false,
search_api_key_set: false,
confirmation_mode: false,
security_analyzer: "llm",
max_iterations: null,
remote_runtime_resource_factor: 1,
provider_tokens_set: {},
enable_default_condenser: true,
condenser_max_size: 240,
enable_sound_notifications: false,
user_consents_to_analytics: null,
enable_proactive_conversation_starters: false,
enable_solvability_analysis: false,
search_api_key: "",
is_new_user: true,
disabled_skills: [],
mcp_config: {},
max_budget_per_task: null,
email: "",
email_verified: true,
git_user_name: "openhands",
git_user_email: "openhands@all-hands.dev",
title_llm_profile: null,
agent_settings_schema: null,
agent_settings: {
schema_version: 6,
agent_kind: "openhands",
agent: "CodeActAgent",
llm: {
model: "openai/gpt-5.6-sol",
},
condenser: {
enabled: true,
max_size: 240,
},
verification: {
critic_enabled: false,
enable_iterative_refinement: false,
},
enable_sub_agents: false,
enable_switch_llm_tool: true,
mcp_config: {},
},
conversation_settings_schema: null,
conversation_settings: {
schema_version: 1,
confirmation_mode: false,
security_analyzer: "llm",
},
};
/**
* Get the default settings
*/
export const getDefaultSettings = (): Settings => DEFAULT_SETTINGS;
|