Add CLI command to create API key for default superuser with AUTO_LOGIN enabled (#1965)

* chore: Add CLI command to create API key for default superuser with AUTO_LOGIN enabled

* chore: Add pyperclip dependency for cross-platform clipboard functionality

* chore: Update API key banner to copy the key to clipboard

* chore: Update langchainhub package version to 0.1.16 and openai package version to 1.30.3

* chore: Update pre-commit hooks to fix mixed line endings and trailing whitespace in Python, JavaScript, and TypeScript files

* style(__main__.py): add type ignore comment for import of pyperclip to suppress type checking error
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-05-24 13:05:15 -07:00 • committed by GitHub
commit 8230434e19
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 145 additions and 339 deletions

View file

@ -18,7 +18,10 @@ repos:
hooks:
- id: check-case-conflict
- id: end-of-file-fixer
# python, js and ts only
files: \.(py|js|ts)$
- id: mixed-line-ending
files: \.(py|js|ts)$
args:
- --fix=lf
- id: trailing-whitespace