Commit graph

746 commits

Author SHA1 Message Date
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
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
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
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
68ac266463 Add better support for r1 + show reasoning tokens 2025-01-31 02:35:06 -08:00
vivek-kothandapani
4b9d24f7d7 Merge remote-tracking branch 'origin/main' into diff-edit-failed 2025-01-29 09:48:12 -05:00
Saoud Rizwan
65a860e75e Revert localization 2025-01-28 18:50:45 -08:00
Saoud Rizwan
ac53dbb122
Persist provider/model between plan/act mode (#1525)
Fix truncation algorithm

Fix

Fix
2025-01-28 15:26:42 -08:00
vivek-kothandapani
c587c6f7ac format fix 2025-01-28 18:14:56 -05:00
vivek-kothandapani
907ad48371 fix: Diff Edit Failed 2025-01-28 17:57:51 -05:00
Evan Fannin
fc5d0bdb5a
Add simple backend logging service (#1517)
* formatting

* inefficient import

* remove redundant initialization check
2025-01-28 14:45:13 -08:00
Saoud Rizwan
b181007509 Remove log 2025-01-27 20:18:24 -08:00
Saoud Rizwan
971489990c Fix language persistence across sessions; update system prompt for non-english languages 2025-01-27 20:15:35 -08:00
Saoud Rizwan
bb967128b8 Fix copy for mcp settings 2025-01-27 19:14:05 -08:00
Saoud Rizwan
57a4f2be0e
Add email subscription field to welcome page (#1497)
* Add email subscription field to welcome page

* Fix merge conflict

* Reposition language picker

* Fixes
2025-01-27 17:17:33 -08:00
Saoud Rizwan
56a7b53ed9
Revert "Added more exclusions to checkpoints" (#1478) 2025-01-26 15:56:54 -08:00
akfoster
5f3885c625
Merge pull request #1461 from cline/canvrno/checkpoints-optimization
Added more exclusions to checkpoints
2025-01-26 13:01:35 -08:00
tszhong0411
6bd6c830fe
fix: typos in docs and code 2025-01-26 21:06:21 +08:00
canvrno
40e4d20f85 Restore changes from evan-fannin after accidental overwrite 2025-01-26 01:19:31 -07:00
Evan Fannin
d3d38fd227
filter for mcp settings (#1460) 2025-01-25 23:58:20 -08:00
canvrno
353df9afd8 Added more exlcusions to checkpoints
Added CheckpointExclusions.ts to separate file filtering for checkpoints. This excludes default a default list of extensions, build artifacts, binary files, large files (>10MB), and various development-specific files from being tracked in checkpoints. Includes a caching system to improve filtering performance and handles OS-specific binary detection. TODO - Make exclusions user-configurable.
2025-01-26 00:07:07 -07:00
Evan Fannin
4f0e3a6f87
Add disable checkpoints setting (#1450)
* disable checkpoints

* reverse setting boolean
2025-01-25 16:40:19 -08:00
Saoud Rizwan
a0e7bf60c2
Fix command output not being streamed when auto-approved + model ID under chat field (#1449)
* Fix bug where auto-approving commands would not stream output back to webview

* Fix model id under chat field

* Amend
2025-01-24 16:33:03 -08:00
brownrw8
54ef05f61b
Support for listing models from OpenAI-compatible providers (#1197)
* feat: Support for listing models from OpenAI-compatible providers

* PR-related change:  remove includeStreamOptions

* prettier

* remove unnecessary code

* german + translation tweak
2025-01-24 17:22:04 -06:00
akfoster
67ac1fd339
Merge pull request #1317 from brownrw8/i18l-l10n
Adding react-i18next (preliminary support for en, de, zh, ja)
2025-01-24 10:06:29 -08:00
akfoster
8c256a6b41
Merge pull request #1419 from evan-fannin/partially-enable-mcp
Add server use only MCP setting
2025-01-24 00:05:34 -08:00
Evan
b1bcbfeadc changed mcp setting name, changes setting option name 2025-01-24 14:48:57 +08:00
Dennis Bartlett
16fbfe1376
Merge pull request #1409 from cline/win-mcp-server-directory
Fix: MCP Server directory location in Windows
2025-01-23 21:19:39 -06:00
Dennis Bartlett
f915fb2e2d
Merge pull request #1421 from evan-fannin/fix-linting-error
Chore: Fix linting error
2025-01-23 20:29:02 -06:00
canvrno
c5763167ee Fix: MCP Server directory location in Windows (updated) 2025-01-23 18:24:50 -07:00
Evan
c9d274fd84 linting error 2025-01-24 00:25:08 +08:00
Evan
c9b37326bd Merge branch 'main' into cline-terminals-fix 2025-01-23 22:42:49 +08:00
Evan
c497eb1ff2 whitespace 2025-01-23 22:34:54 +08:00
Evan
542c246a55 reverting UI changes 2025-01-23 13:03:27 +08:00
Evan
4ba3cc87a2 wip 2025-01-23 12:54:34 +08:00
Evan
1e04e5c37a wip 2025-01-23 12:33:31 +08:00
Evan
c204ad711b merge conflicts 2025-01-23 12:16:34 +08:00
brownrw8
2e95f29572
Merge branch 'main' into i18l-l10n 2025-01-22 15:29:51 -10:00
akfoster
c12343f07b
Merge pull request #1392 from johann-taberlet/feat/add-gemini-2-flash-thinking-model-01-21
Feat/add gemini 2 flash thinking model 01 21
2025-01-22 17:28:30 -08:00
pashpashpash
f4d655dfda
Merge pull request #1406 from cline/pashpashpash-accounts
Authentication & Accounts
2025-01-22 17:25:44 -08:00
Evan Fannin
ac428ef0be
Merge pull request #1378 from evan-fannin/add-advanced-settings-button
Add advanced settings button / Add setting to exclude MCP prompting
2025-01-23 09:24:54 +08:00
pashpashpash
c8514500bd dont need type exported 2025-01-22 17:05:55 -08:00
pashpashpash
977d81dc3b removed redundant globalstatekey 2025-01-22 17:03:11 -08:00