Преглед изворни кода

fix: langfuse logical operator error (#5948)

tags/0.6.13
Joe пре 1 година
родитељ
комит
688b8fe114
No account linked to committer's email address
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      api/core/ops/entities/config_entity.py

+ 1
- 1
api/core/ops/entities/config_entity.py Прегледај датотеку

@@ -27,7 +27,7 @@ class LangfuseConfig(BaseTracingConfig):
def set_value(cls, v, info: ValidationInfo):
if v is None or v == "":
v = 'https://api.langfuse.com'
if not v.startswith('https://') or not v.startswith('http://'):
if not v.startswith('https://') and not v.startswith('http://'):
raise ValueError('host must start with https:// or http://')

return v

Loading…
Откажи
Сачувај