Skip to content

Instantly share code, notes, and snippets.

@numpad0
Created July 14, 2025 13:40
Show Gist options
  • Save numpad0/e90f03d192d1b6abf605a4e386e9b6bf to your computer and use it in GitHub Desktop.
Save numpad0/e90f03d192d1b6abf605a4e386e9b6bf to your computer and use it in GitHub Desktop.
OpenHands CLI setup for LM Studio. MUST changes were: 1) "/v1" after base url, and 2)"llm_model":"lm_studio/<model_name>"
{
"language":null,
"agent":"CodeActAgent",
"max_iterations":null,
"security_analyzer":null,
"confirmation_mode":null,
"llm_model":"lm_studio/gemma-3-4b",
"llm_api_key":"000000000000000",
"llm_base_url":"http://10.10.10.10:1234/v1",
"llm_embedding_model":"local",
"remote_runtime_resource_factor":null,
"secrets_store":{"provider_tokens":{}},
"enable_default_condenser":true,
"enable_sound_notifications":false,
"enable_proactive_conversation_starters":true,
"user_consents_to_analytics":null,
"sandbox_base_container_image":null,
"sandbox_runtime_container_image":null,
"mcp_config":null,
"search_api_key":null,
"sandbox_api_key":null,
"max_budget_per_task":null,
"email":null,
"email_verified":null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment