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:
parent
d5d6f2b4fb
commit
8230434e19
5 changed files with 145 additions and 339 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue