token bug corrected

This commit is contained in:
Roy Han 2024-07-03 15:03:54 -07:00
parent fa7be5aab4
commit 105e36765d

View File

@ -119,10 +119,6 @@ curl https://api.openai.com/v1/completions \
- [ ] `user` - [ ] `user`
- [ ] `n` - [ ] `n`
#### Notes
- `usage.prompt_tokens` will be 0 for completions where prompt evaluation is cached
### `/v1/completions` ### `/v1/completions`
#### Supported features #### Supported features
@ -155,7 +151,6 @@ curl https://api.openai.com/v1/completions \
#### Notes #### Notes
- `prompt` currently only accepts a string - `prompt` currently only accepts a string
- `usage.prompt_tokens` will be 0 for completions where prompt evaluation is cached
## Models ## Models