Refactor set_user_agent method in base.py to use proper capitalization

The set_user_agent method in base.py was updated to use proper capitalization for the user agent value. Instead of "langflow", it now uses "Langflow". This change improves consistency and readability in the code.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-06-22 15:45:11 -03:00
commit 295f2c69db

View file

@ -130,7 +130,7 @@ class Settings(BaseSettings):
@classmethod
def set_user_agent(cls, value):
if not value:
value = "langflow"
value = "Langflow"
import os
os.environ["USER_AGENT"] = value