Skip to content

Added the comparison function for different models and the comparison function for different versions#2758

Open
2h0u4n wants to merge 6 commits intoModelEngine-Group:developfrom
2h0u4n:prompt_template
Open

Added the comparison function for different models and the comparison function for different versions#2758
2h0u4n wants to merge 6 commits intoModelEngine-Group:developfrom
2h0u4n:prompt_template

Conversation

@2h0u4n
Copy link
Copy Markdown

@2h0u4n 2h0u4n commented Apr 7, 2026

增加了不同模型的对比功能和不同版本的对比功能。

@2h0u4n 2h0u4n requested review from Phinease and WMC001 as code owners April 7, 2026 06:14
@2h0u4n 2h0u4n closed this Apr 7, 2026
@2h0u4n 2h0u4n changed the title 增加了不同模型的对比功能和不同版本的对比功能 Added the comparison function for different models and the comparison function for different versions Apr 7, 2026
@2h0u4n 2h0u4n reopened this Apr 7, 2026
@2h0u4n 2h0u4n force-pushed the prompt_template branch from e5deba7 to b2af3ed Compare April 7, 2026 08:58
@2h0u4n
Copy link
Copy Markdown
Author

2h0u4n commented Apr 7, 2026

a53af7565dc4c5d9855cd095ce98d093 95b0916ffcdf815a21d84848a0a991f8 实现了不同模型的对比和不同版本的对比

@2h0u4n 2h0u4n force-pushed the prompt_template branch from a894678 to 3bc3579 Compare April 7, 2026 09:19
@2h0u4n 2h0u4n force-pushed the prompt_template branch from 4cd6eda to 115148a Compare April 7, 2026 09:40
@2h0u4n 2h0u4n force-pushed the prompt_template branch from 5a54b26 to 5499b17 Compare April 8, 2026 14:49
// Backend addresses
const HTTP_BACKEND = process.env.HTTP_BACKEND || "http://localhost:5010"; // config
const WS_BACKEND = process.env.WS_BACKEND || "ws://localhost:5014"; // runtime
const HTTP_BACKEND = process.env.HTTP_BACKEND || "http://127.0.0.1:5010"; // config
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这种本地环境调试的改动不应该提交至代码仓,建议复原


delta = chunk.choices[0].delta
new_token = getattr(delta, "content", None)
reasoning_content = getattr(delta, "reasoning_content", None)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

此处修改的原因是?如果是与新增功能无关的优化或bug修复建议单独提交PR

# CONFIG_SERVICE_URL
if grep -q "^CONFIG_SERVICE_URL=" ../.env; then
sed -i.bak "s~^CONFIG_SERVICE_URL=.*~CONFIG_SERVICE_URL=http://localhost:5010~" ../.env
sed -i.bak "s~^CONFIG_SERVICE_URL=.*~CONFIG_SERVICE_URL=http://127.0.0.1:5010~" ../.env
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同下,这里是否也是本地调试的改动

allow_memory_search=allow_memory_search,
is_debug=agent_request.is_debug,
version_no_override=agent_request.version_no,
override_model_id=agent_request.model_id,
Copy link
Copy Markdown
Contributor

@WMC001 WMC001 Apr 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

version_no_override和override_model_id的命名风格不统一,建议使用后者

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants