Skip to content

Commit 8c05fd0

Browse files
committed
Tweak temperature bounds, args
1 parent 988280f commit 8c05fd0

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

mistralrs-server/src/mcp_server.rs

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -121,19 +121,9 @@ impl ChatTool {
121121
"temperature".to_string(),
122122
json!({
123123
"type": "number",
124-
"description": "Sampling temperature between 0 and 1",
124+
"description": "Sampling temperature between 0 and 2",
125125
"minimum": 0.0,
126-
"maximum": 1.0
127-
})
128-
.as_object()
129-
.unwrap()
130-
.clone(),
131-
);
132-
properties.insert(
133-
"systemPrompt".to_string(),
134-
json!({
135-
"type": "string",
136-
"description": "Optional system prompt to prepend to the conversation"
126+
"maximum": 2.0
137127
})
138128
.as_object()
139129
.unwrap()

0 commit comments

Comments
 (0)