-
Task
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
False
-
-
False
-
-
Under `Serving and chatting with the models`there's a section for:
`Creating an API key for chatting with a model`
section number 5 currently instruct the user to:
- You can verify that the server is using API key authentication by running the following command:
$ ilab model chat
Then, seeing the following error that shows an unauthorized user.
openai.AuthenticationError: Error code: 401 - {'error': 'Unauthorized'}
But since `ilab chat` behavior changed this command no longer fails with the above error.
We should update the docs (at least until we sort out the desired behavior for `ilab chat` in this scenario) to validate the API key is indeed required using a curl command:
- You can verify that the server is using API key authentication by running the following command:
$ curl http://127.0.0.1:8080/v1/models
Then, seeing the following error that shows an unauthorized user.
{'error': 'Unauthorized'}