Skip to content

Commit 557e462

Browse files
committed
readme: format js code block
1 parent 1c89a74 commit 557e462

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This library aims to solve the same challenges for you by providing a resilient
2323

2424
## Quickstart
2525

26-
```
26+
```javascript
2727
import ResilientLLM from 'resilient-llm';
2828

2929
const llm = new ResilientLLM({
@@ -35,8 +35,8 @@ const llm = new ResilientLLM({
3535
requestsPerMinute: 60, // Limit to 60 requests per minute
3636
llmTokensPerMinute: 90000 // Limit to 90,000 LLM tokens per minute
3737
},
38-
retries: 3,
39-
backoffFactor: 2
38+
retries: 3, // Numner of times to retry if req. fails for reasons possible to fix by retry
39+
backoffFactor: 2 // Increase delay between retries by this factor
4040
});
4141

4242
const conversationHistory = [

0 commit comments

Comments
 (0)