Skip to content

Commit cab43db

Browse files
committed
Merge pull request 'test: update default expect' (#459) from spec_config into development
Reviewed-on: https://git.biggo.com/Funmula/dive-mcp-host/pulls/459
2 parents 66a3bcd + d8d000b commit cab43db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/httpd/routers/test_config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def test_get_model(test_client):
285285
"configs": {
286286
"dive": {
287287
"configuration": {
288-
"temperature": 0.0,
288+
"temperature": None,
289289
"topP": None,
290290
},
291291
"model": "fake",
@@ -369,7 +369,7 @@ def test_post_model(test_client: tuple[TestClient, "DiveHostAPI"]):
369369
"modelProvider": "dive",
370370
"maxTokens": None,
371371
"configuration": {
372-
"temperature": 0.0,
372+
"temperature": None,
373373
"topP": None,
374374
},
375375
},
@@ -456,7 +456,7 @@ def test_post_model_embedding(test_client):
456456
"apiKey": None,
457457
"configuration": {
458458
"baseURL": None,
459-
"temperature": 0.0,
459+
"temperature": None,
460460
"topP": None,
461461
},
462462
"active": True,

0 commit comments

Comments
 (0)