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:
parent
38ab89dc4c
commit
295f2c69db
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue