修改issue墨冰
This commit is contained in:
17
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
17
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@@ -12,6 +12,23 @@ body:
|
||||
- label: "我确认在 Issues 列表中并无其他人已经提出过与此问题相同或相似的问题"
|
||||
required: true
|
||||
- label: "我使用了 Docker"
|
||||
- type: dropdown
|
||||
attributes:
|
||||
label: "使用的分支"
|
||||
description: "请选择您正在使用的版本分支"
|
||||
options:
|
||||
- main
|
||||
- main-fix
|
||||
- refactor
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
attributes:
|
||||
label: "具体版本号"
|
||||
description: "请输入您使用的具体版本号"
|
||||
placeholder: "例如:0.5.11、0.5.8"
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: 遇到的问题
|
||||
|
||||
@@ -882,8 +882,8 @@ class Hippocampus:
|
||||
matched_topics.add(input_topic)
|
||||
adjusted_sim = sim * penalty
|
||||
topic_similarities[input_topic] = max(topic_similarities.get(input_topic, 0), adjusted_sim)
|
||||
logger.debug(
|
||||
f"[激活] 主题「{input_topic}」-> 「{memory_topic}」(内容数: {content_count}, 相似度: {adjusted_sim:.3f})")
|
||||
# logger.debug(
|
||||
# f"[激活] 主题「{input_topic}」-> 「{memory_topic}」(内容数: {content_count}, 相似度: {adjusted_sim:.3f})")
|
||||
|
||||
# 计算主题匹配率和平均相似度
|
||||
topic_match = len(matched_topics) / len(identified_topics)
|
||||
|
||||
@@ -165,8 +165,8 @@ class LLM_request:
|
||||
# 判断是否为流式
|
||||
stream_mode = self.params.get("stream", False)
|
||||
logger_msg = "进入流式输出模式," if stream_mode else ""
|
||||
logger.debug(f"{logger_msg}发送请求到URL: {api_url}")
|
||||
logger.info(f"使用模型: {self.model_name}")
|
||||
# logger.debug(f"{logger_msg}发送请求到URL: {api_url}")
|
||||
# logger.info(f"使用模型: {self.model_name}")
|
||||
|
||||
# 构建请求体
|
||||
if image_base64:
|
||||
|
||||
Reference in New Issue
Block a user