dev-0.9.x -> main #76

Merged
alpha-nerd merged 15 commits from dev-0.9.x into main 2026-05-15 09:16:11 +02:00
Showing only changes of commit 84e3b30f2f - Show all commits

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):