Files
homelab-optimized/scripts/openhands-cli.sh
Gitea Mirror Bot 77f717c86e
Some checks failed
Documentation / Deploy to GitHub Pages (push) Has been cancelled
Documentation / Build Docusaurus (push) Has been cancelled
Sanitized mirror from private repository - 2026-04-06 02:30:35 UTC
2026-04-06 02:30:35 +00:00

14 lines
371 B
Bash
Executable File

#!/bin/bash
export PATH=$HOME/.local/bin:$PATH
export LLM_MODEL=openai/qwen/qwen2.5-coder-14b
export LLM_API_KEY="lm-studio"
export LLM_BASE_URL="http://100.98.93.15:1234/v1"
export LLM_CONTEXT_WINDOW=32768
# If no arguments, start interactive TUI
if [ $# -eq 0 ]; then
openhands --override-with-envs --always-approve
else
openhands --override-with-envs "$@"
fi