Commit Graph

426 Commits

Author SHA1 Message Date
Matt Rubens
57518e10b3 Add per-server MCP network timeout configuration 2025-01-26 22:49:21 -05:00
Matt Rubens
5d20477785 Throw FileRestrictionErrors sooner 2025-01-26 02:44:59 -05:00
Matt Rubens
2fbf276f00 Merge pull request #555 from dairui1/feat/openrouter_base_url
feat: Add openRouterBaseUrl option
2025-01-26 00:35:11 -05:00
Piotr Rogowski
c6607065b9 Add support for displaying reasoning for openrouter models 2025-01-26 02:11:56 +01:00
dairui1
4a75f85eac feat: Add openRouterBaseUrl option 2025-01-25 16:48:21 +08:00
Matt Rubens
8c929ba16a Do a more complete mode switch from switch_mode command 2025-01-24 23:04:57 -05:00
Matt Rubens
e2241286f3 Fix test 2025-01-24 13:39:31 -05:00
Matt Rubens
cda44d52d4 Don't allow setting a retry period below 5 seconds, default to 10 2025-01-24 12:59:49 -05:00
Matt Rubens
7c41a9cbf8 Merge pull request #526 from RooVetGit/switch_mode_tool
Add a tool to switch modes
2025-01-24 12:50:57 -05:00
Matt Rubens
9464a1bae9 Merge pull request #523 from RooVetGit/allow_architect_mode_to_write_markdown
Allow architect and ask modes to write md files
2025-01-24 12:50:08 -05:00
Matt Rubens
5f8a8887fb Validation fixes 2025-01-24 12:46:10 -05:00
Matt Rubens
0cfc095544 Merge remote-tracking branch 'origin/main' into aws-profile-support 2025-01-24 09:10:11 -05:00
Matt Rubens
d1754cace0 Add a tool to switch modes 2025-01-24 03:05:03 -05:00
Matt Rubens
569e104bf2 Updated role definition for ask 2025-01-24 01:46:46 -05:00
Matt Rubens
ba69cd756f Cleanup 2025-01-24 01:32:48 -05:00
Matt Rubens
980189460d Update system prompt 2025-01-24 00:39:45 -05:00
Matt Rubens
6c3c216034 Add test to confirm this works with custom modes 2025-01-24 00:30:24 -05:00
Matt Rubens
7413d6494e Let ask mode write markdown too 2025-01-23 23:48:38 -05:00
Matt Rubens
4e77fb93bb Allow architect mode to write md files 2025-01-23 23:41:47 -05:00
sam hoang
f86e96d157 refactor: separate mode and support prompts
- Rename customPrompts to customModePrompts for mode-specific prompts
- Add new customSupportPrompts type for support action prompts
- Update types to be more specific (CustomModePrompts and CustomSupportPrompts)
- Fix all related tests and component implementations
2025-01-24 01:46:33 +07:00
sam hoang
085d42873c refactor: generalize prompt enhancement into single completion handler
- Rename enhance-prompt.ts to single-completion-handler.ts for better clarity
- Refactor enhancement logic to be more generic and reusable
- Update prompt template handling to use template literals
- Adjust tests and imports accordingly
2025-01-24 01:14:48 +07:00
sam hoang
149e86ed0a fix comment on pr 2025-01-24 00:51:35 +07:00
sam hoang
55a5a97d8b refactor: consolidate code action and enhance prompts into unified support prompts system
- Rename codeActionPrompt to supportPrompt for better clarity
- Move enhance prompt functionality into support prompts system
- Add ENHANCE tab alongside other support prompt types
- Update UI to show enhancement configuration in ENHANCE tab
- Update tests to reflect new unified structure

This change simplifies the prompt system by treating enhancement as another type of support prompt rather than a separate system.
2025-01-24 00:46:20 +07:00
sam hoang
22907a0578 refactor: consolidate prompt functionality into support-prompt module
- Move code action prompts from core/prompts to shared/support-prompt
- Migrate enhance prompt functionality from modes to support-prompt
- Add UI for managing code action prompts in PromptsView
- Update types and interfaces for better prompt management
2025-01-24 00:46:19 +07:00
sam hoang
7845791720 feat(code-actions): add user input and customizable templates
Add ability to provide custom input when using code actions
Make code action templates customizable and resettable
Refactor code action handling for better maintainability
Add state management for utility prompts
2025-01-24 00:46:19 +07:00
sam hoang
1b26f91ea7 refactor(code-actions): implement parameter object pattern for prompt generation
- Extract prompt templates into constants
- Add createPrompt utility for template string handling
- Consolidate code action handling in ClineProvider
- Update tests to use new parameter object pattern
2025-01-24 00:46:19 +07:00
sam hoang
86b051df35 feat: implement code action provider for VS Code integration 2025-01-24 00:46:18 +07:00
sam hoang
7c875f1fea feat: add code action prompt handlers for explain, fix and improve code 2025-01-24 00:46:18 +07:00
Matt Rubens
343d3fa687 Merge pull request #516 from samhvw8/feat/use-azure-openai
feat: add explicit Azure OpenAI flag
2025-01-23 09:25:41 -08:00
sam hoang
f745f080f4 feat: add explicit Azure OpenAI flag and setup memory bank docs
- Add openAiUseAzure flag to force Azure OpenAI client initialization
- Add "Use Azure" checkbox in API settings UI

This change improves Azure OpenAI configuration flexibility by allowing users to explicitly opt-in to Azure client, regardless of the base URL pattern.
2025-01-24 00:14:55 +07:00
Matt Rubens
2b059c6d15 Fix button to open custom modes settings 2025-01-23 08:14:15 -08:00
Matt Rubens
8e48b734a5 Fix bug with role definition overrides for built-in modes 2025-01-22 08:42:28 -08:00
Matt Rubens
b8e2dac2b9 Only allow usage of diff tool if enabled in settings 2025-01-21 18:35:14 -05:00
Matt Rubens
8bbb64d27f Fix language selector 2025-01-21 15:39:59 -05:00
Matt Rubens
5dcb96739b Merge pull request #277 from samhvw8/feat/roo-custom-model-info-openai-compatible
feat: custom model info in openai compatible
2025-01-21 11:44:49 -05:00
Matt Rubens
77fa8b1b31 Add diff strategy to system prompt preview 2025-01-21 11:11:00 -05:00
sam hoang
d1a65f4de0 refactor: rename openAiCusModelInfo to openAiCustomModelInfo for better clarity
- Rename openAiCusModelInfo to openAiCustomModelInfo across all files for better readability
- Update related variable names and references to maintain consistency
- Affects OpenAI provider, ClineProvider, WebviewMessage, API interfaces, and UI components
2025-01-21 23:06:07 +07:00
sam hoang
d50e075c75 feat(openai): add custom model info configuration
Adds support for configuring custom OpenAI-compatible model capabilities and pricing, including:

Max output tokens
Context window size
Image/computer use support
Input/output token pricing
Cache read/write pricing
2025-01-21 22:46:21 +07:00
Matt Rubens
b8e0aa0cde Custom modes 2025-01-21 09:39:54 -05:00
Abhishek Aryan
7f0550ae19 Merge branch 'main' into aws-profile-support 2025-01-20 20:29:43 +00:00
Matt Rubens
993ebaf999 Clean up the settings page 2025-01-20 13:29:45 -05:00
Matt Rubens
eff636aef0 Remove test modes 2025-01-20 11:41:38 -05:00
Daniel Riccio
54fb38f76c fix: correct the type of arguments for the getToolDescription 2025-01-18 17:10:26 -05:00
Daniel Riccio
7bb1f3ebb4 test: fix failing test due to new tool description 2025-01-18 17:06:53 -05:00
Daniel
cea4d163b2 Merge branch 'main' into improve_diff_prompt 2025-01-18 17:01:21 -05:00
Daniel Riccio
5f348d531e refactor: improve the apply_diff tool to be concise and include step by step guide on how to generate a good diff 2025-01-18 16:56:20 -05:00
Lunchb0ne
7a61e6ab74 Support AWS profile to configure Bedrock Authentication
Added support for configurations under ~/.aws/credentials or ~/.aws/config.
2025-01-18 12:41:46 +00:00
Matt Rubens
60a0a824b9 Prettier backfill 2025-01-17 14:11:28 -05:00
Matt Rubens
055998472a Add test and review modes 2025-01-17 13:40:27 -05:00
Matt Rubens
72fe12d096 Refactor modes 2025-01-17 10:03:23 -05:00