Patrick Erichsen
a1bfef9df0
Merge pull request #5837 from continuedev/pe/rule-alwaysApply-property
...
Add alwaysApply property to rules for better control over rule applic…
2025-05-27 14:47:02 -07:00
Nate
0c18c51411
Merge branch 'main' into nate/vllm-no-fim
2025-05-25 21:48:14 -07:00
Patrick Erichsen
1b59411ec1
chore: continue bot feedback
2025-05-25 19:47:12 -07:00
Patrick Erichsen
e2e4f94e8d
Add alwaysApply property to rules for better control over rule application
...
This commit introduces an optional `alwaysApply` boolean property to rules that provides fine-grained control over when rules are included in system messages.
## Behavior
- `alwaysApply: true` - Always include the rule, regardless of file context
- `alwaysApply: false` - Only include if globs exist AND match file context
- `alwaysApply: undefined` - Default behavior: include if no globs OR globs match
## Changes
- Added `alwaysApply?: boolean` to `RuleWithSource` interface
- Updated `parseMarkdownRule` to handle frontmatter `alwaysApply` property
- Enhanced `shouldApplyRule` function with explicit logic for all three states
- Added `alwaysApply` to createRuleBlock tool definition and implementation
- Updated UI logic in RulesPeek component to match backend behavior
- Added comprehensive test coverage for all scenarios
- Updated documentation to mention Markdown file support for rules
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-25 19:27:15 -07:00
Nate
ade15bc7d6
Merge branch 'main' into nate/dev-data-updates
2025-05-25 18:53:32 -07:00
Nate
dcb1615486
Merge branch 'main' into dallin/cancelable-apply
2025-05-25 16:11:53 -07:00
Nate
933d03d49e
don't support fim through continue-proxy to vllm
2025-05-24 14:56:03 -07:00
Nate
8f867cca24
Merge branch 'nate/dev-data-updates' into nate/vllm-no-fim
2025-05-24 14:24:09 -07:00
Nate
1ca6b68d91
Merge branch 'main' into nate/vllm-no-fim
2025-05-24 14:15:03 -07:00
Nate Sesti
b9bfcc3973
Merge branch 'main' into nate/watsonx-rules-support
2025-05-22 20:18:59 -07:00
Nate
606ccb8c84
fix type errors
2025-05-22 20:09:00 -07:00
Nate
6d4857bf32
pass env to continueProperties
2025-05-22 19:01:00 -07:00
chezsmithy
b24a76fdab
feat: ✨ Add support for Claude Sonnet 4
2025-05-22 13:28:49 -07:00
Patrick Erichsen
2bad1383bd
Merge pull request #5781 from continuedev/tomasz/match-all-context-code
...
Match all context to rules
2025-05-21 18:09:03 -07:00
Nate
615828764f
mark vllm as not supporting FIM
2025-05-21 15:18:54 -07:00
Nate
fb11c44575
update toolSupport and tests to always return a boolean. and for continue-proxy to expect full model string
2025-05-21 14:58:01 -07:00
Tomasz Stefaniak
cd82f4c61f
fix: type errors
2025-05-21 12:53:33 -07:00
Tomasz Stefaniak
17a249c1ce
test: generating system message
2025-05-21 12:46:59 -07:00
Tomasz Stefaniak
d265ec01e2
improv: clean up code
2025-05-21 12:41:40 -07:00
Tomasz Stefaniak
bdc2ec8374
fix: missing context items
2025-05-21 12:37:43 -07:00
Mathieu Santostefano
6c5441effd
Update toolSupport.test.ts to support devstral
2025-05-21 20:37:36 +02:00
Mathieu Santostefano
dbd3430984
Add Devstral as model supporting tools
...
Ref #5778
2025-05-21 20:33:30 +02:00
Patrick Erichsen
38f58b1e62
Merge pull request #5729 from derhauck/5728-allow-openai-oseries-models
...
feat: add regex to allow for openai o-series models and rename method…
2025-05-20 21:17:14 -07:00
Tomasz Stefaniak
64fb928b8f
fix: matching context code
2025-05-20 18:06:56 -07:00
Nate
82c1453551
use underlyingProviderName for dev data instead of providerName
2025-05-20 15:17:01 -07:00
Nate
82bc0bdcbb
add underlyingProviderName getter
2025-05-20 13:57:06 -07:00
Nate
a4f025111e
use parseProxyModelName for toolSupport
2025-05-20 13:41:13 -07:00
DERHauck
22aa3ac221
#5728 Update negative test cases in isOSeriesModel unit tests to improve coverage and accuracy
2025-05-20 11:58:50 +02:00
DERHauck
6222824cf4
#5728 add tests for isOSeriesModel and make method public in OpenAI class for easier testing
2025-05-20 11:46:51 +02:00
Dallin Romney
1c328b0974
Merge branch 'main' of https://github.com/continuedev/continue into nate/retry-llm-tests
2025-05-19 17:06:38 -07:00
Dallin Romney
9d2037c6e0
fetch updates - move tests to fetch package
2025-05-19 16:03:22 -07:00
Tomasz Stefaniak
e6d1478346
Merge pull request #5580 from zyxue/zyxue-patch-1
...
handle `data:[DONE]` without space properly
2025-05-19 12:44:12 -07:00
Dallin Romney
b8b893d3d0
merge main
2025-05-19 10:55:54 -07:00
Zhuyi Xue
ad37da6714
Updated stream.test.ts
2025-05-19 10:03:33 -07:00
DERHauck
c30e143100
#5728 fix missing boolean check
2025-05-19 09:54:31 +02:00
DERHauck
71b969d1e0
#5728 add regex to allow for openai o-series models and rename method to stay descriptive of new functionality
2025-05-19 09:47:40 +02:00
Patrick Erichsen
890c9b3e7b
Merge branch 'main' into pe/apply-fixes-pt2
2025-05-16 15:06:51 -07:00
Dallin Romney
35958b225d
use fetch package for streaming utils
2025-05-16 10:33:17 -07:00
Dallin Romney
8f3ee86d50
cleanup
2025-05-16 10:29:40 -07:00
Patrick Erichsen
ceb92773e9
fix: apply insertion bug
2025-05-15 19:56:25 -07:00
Dallin Romney
1a47f96259
catch client abort errors
2025-05-15 18:45:55 -07:00
Dallin Romney
d93d665512
cancelable apply
2025-05-15 15:55:15 -07:00
Tomasz Stefaniak
002ecc9b51
fix: failing test
2025-05-15 14:03:08 -07:00
Tomasz Stefaniak
53f06795d3
feat: display rules used
2025-05-14 16:01:29 -07:00
Dallin Romney
1479dfbf19
add comment link to openrouter models that support tools
2025-05-13 12:02:16 -07:00
Dallin Romney
a2e6ab6c57
openrouter default tool support
2025-05-13 10:43:09 -07:00
Patrick Erichsen
d350549ccb
Merge pull request #5371 from chezsmithy/feat-cache-tools-config
...
feat(config-yaml): Add promptCaching to Default Completion Options and enable Bedrock Tools Caching
2025-05-12 15:41:02 -07:00
zyxue
1ea2a105ed
added unittest for stream
2025-05-12 08:57:51 -07:00
Tomasz Stefaniak
5e122b76b3
fix: copy
2025-05-09 14:47:55 -07:00
Patrick Erichsen
e29d188333
Merge branch 'main' into feat-cache-tools-config
2025-05-09 14:02:35 -07:00