jd-opensource / jd-opensource/JoyAI-VL-Interaction

force-silence-before-query已经设置为False,但是没有发query之前还是一致输出</silence>

Open
#11 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.9k
Forks
190
PR merge metrics
No merged PRs in 30d

Description

设置的代码在live_adapter.py2243行,见下面。是还有其它地方要设置吗?
parser.add_argument(
"--force-silence-before-query",
action="store_true",
default=_env_bool("FORCE_SILENCE_BEFORE_QUERY", False),
)
parser.add_argument(
"--no-force-silence-before-query",
action="store_false",
dest="force_silence_before_query",
help="Disable infer.sh-style forced before the first query.",
)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at live_adapter.py around line 2243 and inspect how force_silence_before_query is parsed and then used before the first query. Reproduce the behavior with the option disabled, trace the other code path that emits , and verify that no forced silence is output before a query when the setting is false.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.