mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-23 00:17:25 +08:00
[Feature]Optimization of Thinking Pattern Framework (#4302)
* add model status in vl
* add x1 parser
* add model_status
* fix parser
* fix parser
* fix parser
* fix parser
* Revert "fix parser"
This reverts commit 300f446d8a.
* fix parser
* fix
* fix
* fix
* fix
* fix parser
* fix unit test
* fix unit test
* add unit test
* fix
* fix
* add unit test
* fix unit test
* add unit test
* add unit test
* fix unit test
* fix unit test
* fix bug
* fix unit test
* x1 tool parser
* fix unit test
* fix unit test
* fix unit test
* fix n
* fix unit test
* add unit test
* add unit test
* remove pring
This commit is contained in:
@@ -48,7 +48,7 @@ class TestChatResponseProcessor(unittest.IsolatedAsyncioTestCase):
|
||||
results = [
|
||||
r
|
||||
async for r in processor.process_response_chat(
|
||||
request_outputs, stream=False, enable_thinking=False, include_stop_str_in_output=False
|
||||
request_outputs, stream=False, include_stop_str_in_output=False
|
||||
)
|
||||
]
|
||||
|
||||
@@ -69,7 +69,7 @@ class TestChatResponseProcessor(unittest.IsolatedAsyncioTestCase):
|
||||
results = [
|
||||
r
|
||||
async for r in processor.process_response_chat(
|
||||
request_outputs, stream=True, enable_thinking=False, include_stop_str_in_output=False
|
||||
request_outputs, stream=True, include_stop_str_in_output=False
|
||||
)
|
||||
]
|
||||
|
||||
@@ -89,7 +89,7 @@ class TestChatResponseProcessor(unittest.IsolatedAsyncioTestCase):
|
||||
results = [
|
||||
r
|
||||
async for r in self.processor_mm.process_response_chat(
|
||||
request_outputs, stream=True, enable_thinking=False, include_stop_str_in_output=False
|
||||
request_outputs, stream=True, include_stop_str_in_output=False
|
||||
)
|
||||
]
|
||||
|
||||
@@ -116,7 +116,7 @@ class TestChatResponseProcessor(unittest.IsolatedAsyncioTestCase):
|
||||
results = [
|
||||
r
|
||||
async for r in self.processor_mm.process_response_chat(
|
||||
request_outputs, stream=True, enable_thinking=False, include_stop_str_in_output=False
|
||||
request_outputs, stream=True, include_stop_str_in_output=False
|
||||
)
|
||||
]
|
||||
|
||||
@@ -134,7 +134,7 @@ class TestChatResponseProcessor(unittest.IsolatedAsyncioTestCase):
|
||||
results = [
|
||||
r
|
||||
async for r in self.processor_mm.process_response_chat(
|
||||
request_outputs, stream=False, enable_thinking=False, include_stop_str_in_output=False
|
||||
request_outputs, stream=False, include_stop_str_in_output=False
|
||||
)
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user