Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/cli server command #723

Merged
merged 2 commits into from
Sep 3, 2024
Merged

Fix/cli server command #723

merged 2 commits into from
Sep 3, 2024

Conversation

Pouyanpi
Copy link
Collaborator

@Pouyanpi Pouyanpi commented Sep 2, 2024

Move import to server function scope. This prevents errors when the default examples or chat-ui folders do not exist for any reason and the user intends to use other commands like chat, migrate or eval.

It also improves the FileNotFoundError message

Copy link
Collaborator

@drazvan drazvan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@drazvan drazvan merged commit db102cd into develop Sep 3, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants