Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continue FIM requests not matching mux rule #1295

Open
danbarr opened this issue Mar 19, 2025 · 0 comments
Open

Continue FIM requests not matching mux rule #1295

danbarr opened this issue Mar 19, 2025 · 0 comments

Comments

@danbarr
Copy link
Contributor

danbarr commented Mar 19, 2025

Describe the issue

Using Continue, my filename-based mux rules are not being matched.

CodeGate is correctly identifying type of request (FIM), and seems to be picking out the filename correctly - the breadcrumb on the event in the dashboard reads "Prompt on filepath: how-to/install.mdx". I have a mux rule for Chat & FIM requests, with a pattern of *.md* to use openai/gpt-4o-mini. But the event fell through to my default FIM rule which goes to ollama.

In the CodeGate container logs, I see:

2025-03-19T17:16:56.092657Z [warning  ] No path found in messages. Creating hash key from message. lineno=83 module=fim_cache pathname=/app/src/codegate/db/fim_cache.py

Steps to Reproduce

My mux rules:

Image

The event, showing that ollama was used, not openai as expected:

Image

Operating System

MacOS (Arm)

IDE and Version

VS Code 1.98.2

Extension and Version

Continue 1.0.4

Provider

OpenAI

Model

N/A

Codegate version

v0.1.30

Logs

No response

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant