Yapilandirma

Nexvexa Agent\'in config.json dosyasi nerede tutulur, hangi alanlar var, oncelik sirasi nasildir.

Konum

PlatformYol
Linux/macOS~/.nexvexa-agent/config.json
Windows%USERPROFILE%\.nexvexa-agent\config.json

Ornek

{
  "provider": "openai",
  "model": "gpt-4o-mini",
  "openai": { "apiKey": "sk-...", "baseUrl": "https://api.openai.com/v1" },
  "anthropic": { "apiKey": "sk-ant-..." },
  "google": { "apiKey": "..." },
  "ollama": { "baseUrl": "http://127.0.0.1:11434" },
  "sandbox": { "profile": "default" },
  "budget": { "dailyTokens": 200000, "dailySteps": 200, "onExceed": "stop" },
  "safeMode": false,
  "macros": { "keyBindings": { "c1": "deploy", "c2": "test" } },
  "workspace": { "projectRoots": [ "/home/me/work" ] },
  "notify": {
    "telegramEnabled": false,
    "telegramBotToken": "",
    "telegramChatId": ""
  }
}

Oncelik sirasi (yukseklik = daha fazla agirlik)

  1. CLI bayraklari (--model, --provider) ve env degiskenleri.
  2. Aktif oturumdaki /set komutlari.
  3. Repo kokunde team-profile.json (varsa).
  4. Kullanici config.json.
  5. Yerlesik varsayilanlar.

Onemli env degiskenleri

DegiskenAnlam
NEXVEXA_HOMEconfig klasorunun konumu
NEXVEXA_PROVIDERvarsayilan saglayici
NEXVEXA_MODELvarsayilan model
OPENAI_API_KEYOpenAI key (env, config.json\'dan oncelikli)
ANTHROPIC_API_KEYAnthropic key
GOOGLE_API_KEYGoogle AI Studio key
TG_SMTP_HOST vb.SMTP ayarlari (e-posta gonderimi)

Komutlarla yapilandirma

/apikey openai sk-...
/baseurl ollama http://127.0.0.1:11434
/provider anthropic
/model claude-3.7-sonnet
/safe on
/budget set tokens 100000