Skip to content

Commit

Permalink
llm.UnknownModelError docs, closes #155
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw authored Aug 13, 2023
1 parent 4f7629c commit 8bf27b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/python-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ llm models list
```
If you have set a `OPENAI_API_KEY` environment variable you can omit the `model.key = ` line.

Calling `llm.get_model()` with an invalid model name will raise a `llm.UnknownModelError` exception.

(python-api-system-prompts)=

### System prompts
Expand Down

0 comments on commit 8bf27b3

Please sign in to comment.