Describe the bug
The CLI does not look for the global .env-file created using deepset-cloud login when a local .env-file in the project root is present. This means that CLI-commands cannot be executed as long as the project-.env file is present in the project-root.
The related error messages are not intuitively hinting at this conflict.
To Reproduce
Steps to reproduce the behavior:
- create new project with .env-file in root folder and some example texts to upload to dP workspace
deepset-cloud login
deepset-cloud upload ./data/examples
- the CLI raises
WorkspaceNotDefinedError("Workspace name is not defined. Got ''. Enter the name of the workspace in workspace_name.")
deepset-cloud upload ./data/examples --workspace-name "default"
- the CLI raises
FailedToUploadFileException('Failed to upload file with status code 404. response was: {"detail":"Not Found"}')
- moving the local .env-file out of the project root solves the issue
Expected behavior
Have CLI always default to using ~/.deepset-cloud/.env or choose during deepset-cloud login whether to use global or local .env-file
Screenshots

Describe the bug
The CLI does not look for the global .env-file created using
deepset-cloud loginwhen a local .env-file in the project root is present. This means that CLI-commands cannot be executed as long as the project-.env file is present in the project-root.The related error messages are not intuitively hinting at this conflict.
To Reproduce
Steps to reproduce the behavior:
deepset-cloud logindeepset-cloud upload ./data/examplesWorkspaceNotDefinedError("Workspace name is not defined. Got ''. Enter the name of the workspace in workspace_name.")deepset-cloud upload ./data/examples --workspace-name "default"FailedToUploadFileException('Failed to upload file with status code 404. response was: {"detail":"Not Found"}')Expected behavior
Have CLI always default to using
~/.deepset-cloud/.envor choose duringdeepset-cloud loginwhether to use global or local .env-fileScreenshots