Commit graph

921 commits

Author SHA1 Message Date
Patrick Erichsen
401d67bbd0 feat: use fetch instead of http 2025-04-05 13:36:41 -07:00
Chad Metcalf
d056a8c44a
Switch to localhost for using Docker models.
Docker only exposes the http://model-runner.docker.internal
address inside of containers. So we will want to use localhost.
2025-04-04 15:48:39 -07:00
Nate Sesti
9555650952
Merge pull request #4964 from continuedev/nate/fix-bedrock-reranker-creds
fix bedrock reranker credentials
2025-04-03 20:54:07 -07:00
Nate Sesti
ae59e597da
Merge pull request #4974 from continuedev/tomasz/if-rules
Tomasz/if rules
2025-04-03 20:51:27 -07:00
tomasz-io
d2545e48d2 improv: clean up code 2025-04-03 15:21:35 -07:00
tomasz-io
2820f43503 improv: clean up 2025-04-03 14:56:22 -07:00
tomasz-io
ea6b2344d0 fix: type errors 2025-04-03 14:55:37 -07:00
tomasz-io
cb2e0a7c0e fix: failing tests 2025-04-03 14:48:00 -07:00
tomasz-io
6d27ac6777 test: rules 2025-04-03 14:05:53 -07:00
tomasz-io
81acb44601 fix: tests 2025-04-03 14:03:14 -07:00
tomasz-io
2b97efe5c6 fix: isRuleActive 2025-04-03 14:00:15 -07:00
tomasz-io
211fcb7740 feat: if-rule 2025-04-03 13:36:33 -07:00
tomasz-io
b39cb836ad fix: rules 2025-04-03 12:40:46 -07:00
tomasz-io
a6dd5a83de fix: if rules 2025-04-03 12:38:30 -07:00
tomasz-io
06b76d752f feat: if-rules 2025-04-03 12:32:25 -07:00
tomasz-io
2620064c53 feat: rules 2025-04-03 12:27:22 -07:00
tomasz-io
6224af63d3 feat: if rules 2025-04-03 11:54:53 -07:00
tomasz-io
05a3eec21e fix: regex 2025-04-03 11:49:16 -07:00
tomasz-io
8c5ca401d4 feat: glob rules 2025-04-03 10:47:42 -07:00
tomasz-io
9cb5170b1a feat: get paths 2025-04-03 10:45:42 -07:00
tomasz-io
f19b6b8abd fix: type errors 2025-04-03 10:29:52 -07:00
tomasz-io
9baa4e93be feat: if-rule 2025-04-03 10:29:13 -07:00
tomasz-io
0a13a4604d feat: if-rules 2025-04-03 10:00:21 -07:00
tomasz-io
ccdc1b953e feat: if-rules 2025-04-03 09:54:33 -07:00
tomasz-io
0b07020d7d fix: messages 2025-04-03 09:51:36 -07:00
tomasz-io
a3bc2e13f9 refactor: clean up code 2025-04-03 09:36:18 -07:00
tomasz-io
0c0d0c92f6 refactor: clean up code 2025-04-03 09:32:13 -07:00
tomasz-io
4156d83171 refactor: clean up code 2025-04-03 09:28:41 -07:00
tomasz-io
2ffb4aefeb feat: extract paths 2025-04-03 09:20:41 -07:00
Nate
466deef9d6 fix bedrock reranker credentials 2025-04-02 21:52:12 -07:00
Nate Sesti
add7a134f6
Merge pull request #4963 from pppy2012/fix-default-context-length
fix: set DEFAULT_CONTEXT_LENGTH to 8192
2025-04-02 20:00:43 -07:00
pppy2012
f1637685c6
fix: set DEFAULT_CONTEXT_LENGTH to 8192 2025-04-03 10:18:30 +08:00
Nate Sesti
5fbcdd5f58
Merge pull request #4960 from metcalfc/inceptionlabs-provider
inceptionlabs provider
2025-04-02 19:15:12 -07:00
Nate Sesti
ddafcab796
Merge pull request #4915 from zhyhang/feat/some-ehance-202504
add google gemini-2.5-pro-exp-03-25 and others; lift siliconflow to reranker model provider
2025-04-02 19:10:24 -07:00
Nate Sesti
9ad8520584
Merge pull request #4948 from chezsmithy/feat/bedrock-prompt-caching
feat/bedrock-prompt-caching
2025-04-02 19:07:29 -07:00
Nate
2cebc92bb6 bump, remove inceptionlabs provider 2025-04-02 18:54:45 -07:00
Nate
a7f70484a8 Merge branch 'main' into inceptionlabs-provider 2025-04-02 18:52:45 -07:00
Nate Sesti
ef11e5fbb6
Merge pull request #4907 from continuedev/nate/mercury
inception provider
2025-04-02 18:29:45 -07:00
Chad Metcalf
27734d4173
Add InceptionLabs provider
- Added InceptionLabs LLM provider integration
- Extended OpenAI class for Inception Labs-specific functionality
- Set up default options for Mercury models
- Added logo for Inception Labs in the UI
- Added model mappings for Mercury models (small, medium, large)
- Added support for different API endpoints based on model selection
- Created modelInfo structure to map models to their API endpoints
- Fixed handling for mercury-mini (zaragoza endpoint) and mercury-small (copenhagen endpoint)
- Updated model listing to return models from both endpoints
- Improved constructor to handle both friendly names and direct model names
2025-04-02 16:51:57 -07:00
tomasz-io
1a1b854fda feat: evaluate rule 2025-04-02 16:05:39 -07:00
Chad Metcalf
5afe552aa5
Add Docker model provider integration
Adds a new LLM provider for Docker Desktop's Model Runner feature, which
allows running local AI models with Docker. The implementation builds on
the existing OpenAI provider, since Docker Model Runner offers an
OpenAI-compatible API endpoint.

Features:
- Implementation of Docker provider extending OpenAI provider
- Support for listing and installing models via Docker CLI
- Added Docker logo for the UI
- ModelInstaller interface implementation
2025-04-02 15:22:14 -07:00
tomasz-io
44212e4582 fix: types 2025-04-02 13:09:28 -07:00
tomasz-io
79780e8d60 refactor: simplify 2025-04-02 11:31:43 -07:00
Jazzcort
60daec4bce Improved efficiency of one-third-pruning
I first paired each ChatMessage with its token count, eliminating
the need to recalculate tokens later when generating the
distanceFromThird array. Additionally, I moved the filtering step
before sorting, ensuring that we only sort messages that exceed
1/3 of the context length instead of sorting the entire message
array.
2025-04-02 10:32:40 -04:00
Jazzcort
64002715a6 Erased the extra condition
chatHistory.length > 0 is always true if we pass
chatHistory.length > 5 in the first place.
2025-04-02 09:19:55 -04:00
Jazzcort
2b0053ca2a Fixed bug for pruning beyond last 5 messages
Currently, this loop just keeps summarize the message at the very
top, which is not the desired behavior. Changing the index from 0
to i make it work as what we want.
2025-04-02 09:13:30 -04:00
chezsmithy
d04b7eecb9 feat/bedrock-prompt-caching 2025-04-02 00:38:56 -07:00
Patrick Erichsen
0a7355b976
Merge pull request #4812 from splatch/align-fetch-calls
Use fetchwithRequestOptions for all calls in WatsonX.
2025-04-01 10:13:53 -07:00
Patrick Erichsen
8d9341a0f0
Merge pull request #4863 from mdelder/feature/4714-vertexai-system-prompt-2
Fixes #4774: Add error handling for system prompt
2025-03-31 21:30:23 -07:00
Patrick Erichsen
bb5e8b641d feat: fix type error + formatting 2025-03-31 21:23:22 -07:00