fix(api): fix incorrect path handling in Langfuse integration (#22766)

Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
This commit is contained in:
chenguowei 2025-07-28 15:37:13 +08:00 • committed by GitHub
commit fce126b206
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 15 additions and 2 deletions

View file

@ -102,7 +102,7 @@ class LangfuseConfig(BaseTracingConfig):
@field_validator("host")
@classmethod
def host_validator(cls, v, info: ValidationInfo):
return cls.validate_endpoint_url(v, "https://api.langfuse.com")
return validate_url_with_path(v, "https://api.langfuse.com")
class LangSmithConfig(BaseTracingConfig):