DevSeeker supports OpenAI's hosted models by default. You can also integrate open-source or local LLMs through an OpenAI-compatible API.
Install and serve models locally using llama.cpp:
pip install llama-cpp-python
pip install llama-cpp-python[server]Obtain a GGUF model file (e.g., CodeLlama-13B-GGUF) and place it on your machine.
python -m llama_cpp.server --model /path/to/model.gguf --n_batch 256 --n_gpu_layers 30export OPENAI_API_BASE="http://localhost:8000/v1"
export OPENAI_API_KEY="sk-your_local_key"
export MODEL_NAME="CodeLlama"
export LOCAL_MODEL=truedevseeker my-projectTo use Open Router models:
export OPENAI_API_BASE="https://openrouter.ai/api/v1"
export OPENAI_API_KEY="your_openrouter_key"
export MODEL_NAME="meta-llama/llama-3-8b-instruct:extended"
export LOCAL_MODEL=true
devseeker my-projectTo use Azure OpenAI:
export OPENAI_API_BASE="https://<your-resource-name>.openai.azure.com"
export OPENAI_API_KEY="your_azure_api_key"
export LOCAL_MODEL=false
devseeker --azure https://<your-resource-name>.openai.azure.com my-project <deployment_name>