Module: Faure::Config
- Defined in:
- lib/faure/config.rb
Constant Summary collapse
- API_TOKEN =
Obligatoires
ENV.fetch('FAURE_API_TOKEN')
- REVIEWER_ID =
ENV.fetch('FAURE_REVIEWER_ID').to_i
- BOT_ID =
ENV.fetch('FAURE_BOT_ID', '0').to_i
- OPENAI_URL =
ENV.fetch('OPENAI_API_URL', 'http://host.containers.internal:8080')
- CODER_MODEL =
Modèles — configurables par projet
ENV.fetch('FAURE_CODER_MODEL', 'mlx-community/Qwen3-Coder-30B-A3B-Instruct-4bit')
- AGENT_MODEL =
ENV.fetch('FAURE_AGENT_MODEL', 'mlx-community/Qwen3.5-4B-4bit')
- SUMMARY_MODEL =
ENV.fetch('FAURE_SUMMARY_MODEL', 'mlx-community/Qwen3.5-4B-4bit')
- TARGET_BRANCH =
Options
ENV.fetch('FAURE_TARGET_BRANCH', 'main')
- LANG =
ENV.fetch('FAURE_LANG', 'fr')
- GITLAB_URL =
GitLab CI — injectées automatiquement
ENV.fetch('CI_SERVER_URL', 'https://gitlab.com')
- PROJECT_ID =
ENV.fetch('CI_PROJECT_ID')
- PROJECT_DIR =
ENV.fetch('CI_PROJECT_DIR', Dir.pwd)