Skip to content

Commit 3a8e9c6

Browse files
committed
docs(models): update Claude model options and add server overload error handling
- Add new Claude 3.7 Sonnet model as default option - Update model options list with Claude 3.7 Sonnet - Add server overload error handling (529) to error feedback table
1 parent 7ddc977 commit 3a8e9c6

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,14 @@ Add additional custom instructions to the commit generation prompt. Useful for p
138138

139139
The Anthropic AI model to use for generating commit messages.
140140

141-
| **Type** | **Options** | **Default Value** |
142-
| :------- | :------------------------- | :------------------------ |
143-
| enum | "claude-3-5-sonnet-latest" | "claude-3-5-haiku-latest" |
144-
| | "claude-3-5-haiku-latest" | |
145-
| | "claude-3-opus-latest" | |
146-
| | "claude-3-sonnet-20240229" | |
147-
| | "claude-3-haiku-20240307" | |
141+
| **Type** | **Options** | **Default Value** |
142+
| :------- | :------------------------- | :------------------------- |
143+
| enum | "claude-3-7-sonnet-latest" | "claude-3-7-sonnet-latest" |
144+
| | "claude-3-5-sonnet-latest" | |
145+
| | "claude-3-5-haiku-latest" | |
146+
| | "claude-3-opus-latest" | |
147+
| | "claude-3-sonnet-20240229" | |
148+
| | "claude-3-haiku-20240307" | |
148149

149150
### `diffCommit.maxTokens`
150151

@@ -185,6 +186,7 @@ Diff Commit provides clear feedback for various scenarios to help troubleshoot i
185186
| | Forbidden: Permission denied, update your API key and try again | The API key doesn't have permission for this operation (403) |
186187
| | Rate Limited: Too many requests, try again later | You've exceeded your API rate limit (429) |
187188
| | Server Error: Anthropic API server error | An error occurred on Anthropic's servers (500) |
189+
| | Server Error: Anthropic Server Overloaded | The Anthropic API server is overloaded (529) |
188190
| **Other Errors** | Failed to write commit message to Source Control | Unable to update the SCM input box with the generated message |
189191
| | Failed to open commit message preview | Unable to open the preview editor |
190192
| | No commit message was generated by the API | The API response didn't contain a valid commit message |

0 commit comments

Comments
 (0)