feat: implement Stream Spoofing interceptor and robust format preservation patches
This commit is contained in:
27
test/fixtures/vllm-like-request.json
vendored
Executable file
27
test/fixtures/vllm-like-request.json
vendored
Executable file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"model": "Qwen3.5-27B",
|
||||
"messages": [
|
||||
{
|
||||
"role": "user",
|
||||
"content": "Please tell me what's in /tmp/test.txt"
|
||||
}
|
||||
],
|
||||
"stream": false,
|
||||
"tools": [
|
||||
{
|
||||
"type": "function",
|
||||
"function": {
|
||||
"name": "read",
|
||||
"description": "Read a file",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user