Commit graph

1065 commits

Author SHA1 Message Date
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
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
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
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
Patrick Erichsen
ceb92773e9 fix: apply insertion bug 2025-05-15 19:56:25 -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
Tomasz Stefaniak
4def447b7f Update toolSupport.ts 2025-05-09 13:48:46 -07:00
Tomasz Stefaniak
82ac6848ca fix: ollama tool use 2025-05-09 13:36:04 -07:00
Patrick Erichsen
e0214dad87 Merge branch 'main' into zyxue-patch-1 2025-05-09 13:32:33 -07:00
Patrick Erichsen
9d53acafde
Merge pull request #5522 from mq200/feat/watsonx-chat-api
watsonx - messages API integration
2025-05-09 10:46:00 -07:00
chezsmithy
6b8345e792 Introduce promptCaching option 2025-05-08 21:12:26 -07:00
chezsmithy
820acc869b tools config caching for bedrock 2025-05-08 21:11:31 -07:00
Zhuyi Xue
5db24e4bbc
handle data:[DONE] more robustly
although https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#request-body says

>stream    boolean    Whether to stream back partial progress. If set, tokens will be sent as data-only server-sent events as they become available, with the stream terminated by a data: [DONE] message

but what I see is `data:[DONE]` (without space), e.g.

```
curl -q --location 'http://localhost:8080/openai/deployments/gpt-4o/chat/completions?api-version=2023-07-01-preview' \
--header 'Authorization: Bearer <token>' \
--header 'X-Forwarded-Client-Cert: secret' \
--header 'Content-Type: application/json' \
--data '{
    "stream": true,
    "messages": [
        {
            "role": "user",
            "content": "hello."
        }
    ]
}'
data:{"choices":[],"created":0,"id":"","model":"","object":"","prompt_filter_results":[{"prompt_index":0,"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}}}]}

data:{"choices":[{"content_filter_results":{},"delta":{"refusal":null,"role":"assistant"},"finish_reason":null,"index":0}],"created":1746741184,"id":"chatcmpl-BV3SqfEtCuk3f8fW5x7azEkELkJZ0","model":"gpt-4o-2024-05-13","object":"chat.completion.chunk","system_fingerprint":"fp_ee1d74bde0"}
...
data:{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"?"},"finish_reason":null,"index":0}],"created":1746741184,"id":"chatcmpl-BV3SqfEtCuk3f8fW5x7azEkELkJZ0","model":"gpt-4o-2024-05-13","object":"chat.completion.chunk","system_fingerprint":"fp_ee1d74bde0"}

data:{"choices":[{"content_filter_results":{},"delta":{},"finish_reason":"stop","index":0}],"created":1746741184,"id":"chatcmpl-BV3SqfEtCuk3f8fW5x7azEkELkJZ0","model":"gpt-4o-2024-05-13","object":"chat.completion.chunk","system_fingerprint":"fp_ee1d74bde0"}

data:[DONE]
```
2025-05-08 15:09:39 -07:00
Patrick Erichsen
ec0180bf95
Merge pull request #5528 from chezsmithy/fix-mode-switch-broken-tools
fix(mode-switch)-tools-calls-broken
2025-05-07 15:10:57 -07:00
chezsmithy
9b7ee72bec simplify constructMessages.ts 2025-05-06 22:57:37 -07:00
chezsmithy
c44e29c981 suggested changes 2025-05-06 22:21:42 -07:00
Patrick Erichsen
3365971917
Merge pull request #5523 from mq200/feat/codestral_template
add codestral template
2025-05-06 10:38:49 -07:00
chezsmithy
c0b26d3302 fix-mode-switch-broken-tools 2025-05-06 00:16:52 -07:00
mq200
21458828c5 watsonx endpoint formatting 2025-05-05 17:14:58 -07:00
mq200
b717b9211f lint codestral template 2025-05-05 17:05:32 -07:00
mq200
51c294aaed add codestral template 2025-05-05 16:44:08 -07:00
Patrick Erichsen
a084d7f456
Merge pull request #5453 from tgmerritt/feat/add_cerebras_llama_4_17b
Add Llama 4 Scout Cerebras to definition schema
2025-05-05 16:38:58 -07:00
mq200
a5dbef3828 watsonx - messages API integration 2025-05-05 09:36:01 -07:00
Nate
0e162ec8e2 test: ✅ retry on failed llm api tests 2025-05-02 22:58:18 -07:00
Nate Sesti
a2ddc7fd41
Merge pull request #5494 from continuedev/nate/gpt-series-edit
mark all gpt- and o-series models as chat only (not /v1/completions)
2025-05-02 18:52:06 -07:00
Nate
f224e5813a mark all gpt- and o-series models as chat only (not /v1/completions) 2025-05-02 17:06:08 -07:00
Dallin Romney
319e20ad06 iteration on system prompt and edit file description 2025-05-01 22:37:04 -07:00
Nate Sesti
2bfe7948c0
Merge pull request #5473 from continuedev/nate/fixes-8014
Small error / warning message updates
2025-05-01 21:40:48 -07:00
Nate
376f0e7a81 improve error message when tool id not matched 2025-05-01 19:47:25 -07:00
uinstinct
ce213a9c1b Merge branch 'main' into agent-system-message 2025-05-01 18:02:33 +05:30
Tyler Merritt
2fb51873c5 Add new model definition 2025-04-30 16:58:49 -05:00
uinstinct
f20b707ed3 json correction 2025-04-30 15:59:35 +05:30
Nate Sesti
8a1287207f
Merge pull request #5430 from continuedev/nate/no-floating-promises-core
Nate/no-floating-promises-core
2025-04-29 21:24:54 -07:00
Nate Sesti
79e5a7a3cd
Merge pull request #4186 from HD787/venice
added venice provider support
2025-04-29 19:53:41 -07:00
Nate
a26ff1a975 fix type err 2025-04-29 16:15:35 -07:00
Nate Sesti
2f24dfe30f
Merge pull request #5428 from continuedev/dallin/tei-api-key-yohannze
@yohannze Huggingface TEI apiKey fix
2025-04-29 15:12:56 -07:00