Commit graph

1385 commits

Author SHA1 Message Date
Michael
bd5eb8fcae
feat: add retry decorator with rate limit handling (#1605)
* fix: improve retry decorator with smart rate limit handling

- Add handling of rate limit (429) errors
- Implement retry timing based on response headers
- Add exponential backoff when no headers present
- Add a few unit tests

Fixes #713

* Create modern-knives-tan.md

* Improve readability in retry.ts

---------

Co-authored-by: Michael Overhorst <m.overhorst@spotonmedics.nl>
Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
2025-02-05 23:11:01 -08:00
Saoud Rizwan
0795b046e1 Prepare for release 2025-02-05 12:49:58 -08:00
Saoud Rizwan
b2e4623559
Add new gemini models (#1656)
* Update gemini models

* Update changeset
2025-02-05 10:49:55 -08:00
omercelik
0b7fac0c9d
Add Gemini 2.0 Pro (#1655) 2025-02-05 10:43:55 -08:00
Daniel Steigman
3fd0106816
Merge pull request #1643 from cline/dependabot/npm_and_yarn/webview-ui/npm_and_yarn-d9a8b47fa5
Bump vitest from 2.1.8 to 2.1.9 in /webview-ui in the npm_and_yarn group
2025-02-05 01:40:39 -08:00
Daniel Steigman
b4dff4ec14
Merge pull request #1650 from cline/double_underscore_fix
Double underscore fix
2025-02-05 01:30:16 -08:00
Dennis Bartlett
9640a5f496 Merge branch 'main' of https://github.com/cline/cline into double_underscore_fix 2025-02-05 03:25:44 -06:00
Daniel Steigman
f108f20466
updated the model list to remove the embedding model (#1646) 2025-02-05 01:11:08 -08:00
Daniel Steigman
905327db4e
Merge pull request #1610 from ViezeVingertjes/feat/1609-add-mistral-models
feat: Add support for all available Mistral API models
2025-02-04 23:52:10 -08:00
dependabot[bot]
4d311ffb43
Bump vitest from 2.1.8 to 2.1.9 in /webview-ui in the npm_and_yarn group
Bumps the npm_and_yarn group in /webview-ui with 1 update: [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest).


Updates `vitest` from 2.1.8 to 2.1.9
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.9/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-05 06:18:51 +00:00
Daniel Steigman
012e073fb9
Merge pull request #1641 from cline/ocasta181/ENG-182
ENG-182 | Add Changesets
2025-02-04 22:17:03 -08:00
Ocasta
6937823b69 use sys.exit, again 2025-02-04 22:05:03 -08:00
Ocasta
1415c8ce7b use sys.exit 2025-02-04 21:56:53 -08:00
Michael Overhorst
fd676ef047 Removed /v1 from the url and tested several models. 2025-02-05 06:51:02 +01:00
Ocasta
9fbd8318f0 error handling when notes_start_index is invalid 2025-02-04 21:49:41 -08:00
Ocasta
15c147cf93 fix check changeset git action 2025-02-04 21:45:15 -08:00
Michael Overhorst
2cc0fa906c Updated the mistral url. 2025-02-05 06:41:00 +01:00
Ocasta
42c6dc7e94 update based on automated feedback 2025-02-04 19:20:18 -08:00
Ocasta
5db9ad2585 revert to older config 2025-02-04 19:06:34 -08:00
Ocasta
36d40afb4e changelogs 2025-02-04 18:58:51 -08:00
phadtrapong
01b1c8c0dd
Fix installing-dev-essentials.md (#1600)
* Fix installing-dev-essentials.md

Fix installing-dev-essentials.md

* Fix link
2025-02-04 16:56:04 -08:00
Hiroki Nakashima
180fbd5995
feat: add LiteLLM API provider support (#1618) 2025-02-04 14:46:13 -08:00
watany
42924c971f
chore: reduse cost openai (#1629) 2025-02-04 09:41:39 -08:00
Michael
e41ff78770
feat:show api error status code (#1635)
* Show status code / message when API request error occurs.

* Moved logic to a helper method.

* Different error message format.

* Removed old comment.

---------

Co-authored-by: Michael Overhorst <m.overhorst@spotonmedics.nl>
2025-02-04 09:40:57 -08:00
Ofek Lev
6508549584
Update copyright year (#1637)
* Update copyright year

* Update LICENSE
2025-02-04 09:22:45 -08:00
Evan
fa67db75e0
Add clineignore class into cline file (#1623) 2025-02-03 16:53:49 -08:00
Daniel Steigman
c97fb242a9
Merge pull request #1469 from tszhong0411/fix-typos
fix: typos in docs and code
2025-02-03 11:56:56 -08:00
Michael Overhorst
466b1982f2 feat: Add support for all available Mistral API models
- Add all available Mistral models with specific version numbers
- Include Premier models (Mistral Large, Pixtral, Ministral, etc.)
- Include Free models (Mistral Small, Pixtral 12B, etc.)
- Set correct token limits and pricing for each model

Fixes #1609
2025-02-03 13:34:16 +01:00
Saoud Rizwan
162cd3b9c5 Prepare for release 2025-02-01 18:32:48 -08:00
canvrno
5fd60b7000
Refactor Shell Detection to Use VS Code Terminal Profiles and Fallback Hierarchy (#1543)
* Provide explicit command chaining instructions

* Added shell detection for powershell
The default-shell library being used only returns cmd for windows users. This change will utilize VS Code API calls to determine the user's shell/terminal settings. MacOS & Linux will, for now, continue to use the existing method. Still working on tests.

* Replaced default-shell, added tests
Replaced default-shell with local code that replicates the old behavior on macOS & Linux
Windows shell detection uses VS Code settings to get the user's default terminal profile
Adjusted prompt change

* One small change

* Removed & attributed old package + typo

* Added VSC load for other OSes, refactor, better tests

* Fixed system.ts explicit git lines

* Added back changes for terminal-command-chaining

* One minor, but important change
2025-02-01 16:32:06 -08:00
Daniel Trugman
a087f5e583
Fix reasoning_content check for openai & deepseek streams (#1594) 2025-02-01 16:15:57 -08:00
Saoud Rizwan
5eb8086b42 Add o3-mini support to OpenAI 2025-01-31 15:21:42 -08:00
Evan Fannin
2a078fee77
Class Implemented (#1577)
* wip

* LLMFileAccessController and tests

* added class and tests

* cleaning up

* formatting

* removing some defaults

* package json and remove defaults list
2025-01-31 12:09:12 -08:00
Saoud Rizwan
3df5e533b7 Prepare for release 2025-01-31 03:14:43 -08:00
Saoud Rizwan
03f07b7626 Fix model switching between plan/act; enable toggle and model switcher during generation 2025-01-31 03:08:24 -08:00
Saoud Rizwan
6500b7c210 Fixes 2025-01-31 02:38:27 -08:00
Saoud Rizwan
50f3791b98 Prepare for release 2025-01-31 02:37:13 -08:00
Saoud Rizwan
68ac266463 Add better support for r1 + show reasoning tokens 2025-01-31 02:35:06 -08:00
brownrw8
57bb43bb6f
Basic unit testing for frontend /webview-ui (#1522)
* feat: very basic unit testing

* move dep -> devDeps

* correct other deps

* resync after i18n revert on main

* update package-lock.json
2025-01-30 21:48:19 -08:00
Saoud Rizwan
3b5d39a21b Prepare for release 2025-01-30 18:57:18 -08:00
Saoud Rizwan
4a8f3339fb Fixes 2025-01-30 18:55:49 -08:00
Saoud Rizwan
64718667ff Show context progress bar always 2025-01-30 18:55:03 -08:00
Saoud Rizwan
4f93437797 Fix creating github release 2025-01-30 18:49:39 -08:00
Saoud Rizwan
1cd2ff10c7 Prepare for release 2025-01-30 18:37:51 -08:00
Evan Fannin
8539421d59
find all test files (#1559) 2025-01-30 18:03:12 -08:00
Saoud Rizwan
0aef2447ee
Fix localized README links (#1557) 2025-01-30 15:57:21 -08:00
Saoud Rizwan
cf8e259f69 Prepare release 2025-01-30 11:16:55 -08:00
Saoud Rizwan
3885f09a0b
Fix context window progress bar spacing (#1554) 2025-01-30 11:15:16 -08:00
Saoud Rizwan
1ae1d047cb Fixes 2025-01-29 16:55:39 -08:00
Saoud Rizwan
36473d53c9 Fix progress bar wrapping 2025-01-29 15:51:02 -08:00