Skip to content

Commit 5302bb2

Browse files
committed
Update based on current behavior
1 parent 22f46a4 commit 5302bb2

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

docs/features/muxing.mdx

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ In the **Request Type** column, select the type of prompt to match:
121121
- `Chat` matches chat prompts
122122

123123
In the **Filter by** column, enter a file name or extension string to match.
124-
This is a simple substring match, wildcards are not supported. For example, to
125-
match Python files, enter `.py`.
124+
This is an exact or `endswith` match, wildcards are not supported. For example,
125+
to match Python files, enter `.py`.
126126

127127
Finally, select the model to use for prompts that match the rule.
128128

@@ -131,17 +131,6 @@ request using the first matching rule. If the prompt contains multiple files in
131131
context, the first rule that matches _any_ of the files is used. If no filter is
132132
matched, the catch-all rule applies.
133133

134-
:::note More about precedence
135-
136-
The order of the rules is important. If you have a more specific rule that
137-
should take precedence over a general rule, place it higher in the list.
138-
139-
Keep substring matching in mind. For example, if you have a filter for `.ts`
140-
files placed above a rule for `.tsx` files, the `.tsx` rule cannot be reached
141-
because the `.ts` filter matches first.
142-
143-
:::
144-
145134
#### Example configuration
146135

147136
<ThemedImage
@@ -159,7 +148,7 @@ Breaking down the above example:
159148

160149
- Markdown files (`.md`) use the gpt-4o-mini model from the OpenAI provider for
161150
all request types.
162-
- Chat prompts for JavaScript files (`.js`, which also matches `.jsx`) use
151+
- Chat prompts for JavaScript files (`.js`, but NOT `.jsx`) use
163152
anthropic/claude-3.7-sonnet via OpenRouter.
164153
- FIM requests for all files (except `.md` since it's higher in the list) use
165154
Ollama with the qwen2.5-coder:1.5b model.

0 commit comments

Comments
 (0)