fix: removed dead config key
Some checks failed
NYX Security Scan / nyx-scan (pull_request) Failing after 7m3s

This commit is contained in:
Alpha Nerd 2026-05-13 14:59:05 +02:00
parent ad0be90a70
commit 84e3b30f2f
Signed by: alpha-nerd
SSH key fingerprint: SHA256:QkkAgVoYi9TQ0UKPkiKSfnerZy2h4qhi3SVPXJmBN+M

View file

@ -2,7 +2,7 @@
title: NOMYO Router - an (O)llama and OpenAI API v1 Proxy with Endpoint:Model aware routing
author: alpha-nerd-nomyo
author_url: https://github.com/nomyo-ai
version: 0.7
version: 0.9
license: AGPL
"""
# -------------------------------------------------------------
@ -256,9 +256,8 @@ class Config(BaseSettings):
cache_history_weight: float = Field(default=0.3)
class Config:
# Load from `config.yaml` first, then from env variables
# YAML loading is handled manually via Config.from_yaml(); env vars use this prefix.
env_prefix = "NOMYO_ROUTER_"
yaml_file = Path("config.yaml") # relative to cwd
@classmethod
def _expand_env_refs(cls, obj):