Selaa lähdekoodia

token bug corrected

Roy Han 10 kuukautta sitten
vanhempi
commit
3702ed7532
1 muutettua tiedostoa jossa 0 lisäystä ja 5 poistoa
  1. 0 5
      docs/openai.md

+ 0 - 5
docs/openai.md

@@ -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