Skip to content

Commit a11dc8b

Browse files
viereck-lancrazywoolagemini-code-assist[bot]
authored
feat(xinference): set response_format to verbose_json (#2142)
* feat(xinference): set response_format to verbose_json 修改语音转文字默认响应格式为verbose_json * Update manifest.yaml * Apply suggestion from @gemini-code-assist[bot] Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --------- Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 2fd07a4 commit a11dc8b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

models/xinference/manifest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ resource:
3232
tool:
3333
enabled: true
3434
type: plugin
35-
version: 0.0.7
35+
version: 0.0.8

models/xinference/models/speech2text/speech2text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def _speech2text_invoke(
8080
file: IO[bytes],
8181
language: Optional[str] = None,
8282
prompt: Optional[str] = None,
83-
response_format: Optional[str] = "json",
83+
response_format: Optional[str] = "verbose_json",
8484
temperature: Optional[float] = 0,
8585
) -> str:
8686
"""

0 commit comments

Comments
 (0)