fix: removed dead config key
Some checks failed
NYX Security Scan / nyx-scan (pull_request) Failing after 7m3s
Some checks failed
NYX Security Scan / nyx-scan (pull_request) Failing after 7m3s
This commit is contained in:
parent
ad0be90a70
commit
84e3b30f2f
1 changed files with 2 additions and 3 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue