#!/bin/bash
export PATH=$HOME/.local/bin:$PATH
export LLM_MODEL=openai/qwen3-coder:latest
export LLM_API_KEY="ollama"
export LLM_BASE_URL="https://a5be22681.vishinator.olares.com/v1"
export LLM_CONTEXT_WINDOW=65536

# If no arguments, start interactive TUI
if [ $# -eq 0 ]; then
    openhands --override-with-envs --always-approve
else
    openhands --override-with-envs "$@"
fi
