mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
* Add OpenAI compatible cost calculation * Requesty: Prepare for correct price calculation * Native OpenAI: Update model caching info According to [OpenAI's website](https://platform.openai.com/docs/guides/prompt-caching), gpt-4o, gpt-4o-mini, o1-preview and o1-mini support caching. For gpt-4o, even though gpt-4o-2024-05-13 and chatgpt-4o-latest do no support caching, users will see there are no cached tokens, which will help avoid confusion. * Native OpenAI: Call getModel once * Native OpenAI: Extract yield usage into method * Native OpenAI: Add caching and cost info to task header * DeepSeek: Add cost info to task header * Add changeset |
||
|---|---|---|
| .. | ||
| api | ||
| core | ||
| exports | ||
| integrations | ||
| services | ||
| shared | ||
| test | ||
| utils | ||
| extension.ts | ||