SkillNet icon indicating copy to clipboard operation
SkillNet copied to clipboard

Suggestion: Move SKILLNET_MODEL to skills/skillnet for better visibility

Open shen774411223d opened this issue 8 months ago • 3 comments

Dear developers, the [issue] (https://github.com/zjunlp/SkillNet/issues/14) I submitted earlier hopes to specify the model by way of environment variables. I see that this requirement has been merged into the main branch, but when I read the code, I was thinking about whether the SKILLNET_MODEL parameter should be written in'skills/skillnet '?

I think in the current situation, when calling skill through natural language, there is no way to know that SKILLNET_MODEL parameters have been added

shen774411223d avatar Mar 23 '26 06:03 shen774411223d

Thanks for reminding! We will look into this and address it shortly.

LiamLYYY avatar Mar 23 '26 09:03 LiamLYYY

Thanks for following up on this! You're right. The SKILLNET_MODEL (and GITHUB_MIRROR) support was added to the SDK and CLI code, but the skillnet skill definition wasn't updated accordingly. This means agents calling SkillNet via natural language wouldn't know these new environment variables exist. This has now been fixed. The following files are updated: SKILL.md — Environment Variables table now includes SKILLNET_MODEL and GITHUB_MIRROR api-reference.md — CLI command docs (--mirror, --model with env var note), Python SDK docs (mirror_url parameter),Environment Variables table, and Command ↔ Variable requirement matrix Agents reading the skill definition will now see all available configuration options, including the model priority chain: --model flag > SKILLNET_MODEL env var > gpt-4o default.

Icarus-Chen avatar Mar 23 '26 11:03 Icarus-Chen

Thanks for following up on this! You're right. The SKILLNET_MODEL (and GITHUB_MIRROR) support was added to the SDK and CLI code, but the skillnet skill definition wasn't updated accordingly. This means agents calling SkillNet via natural language wouldn't know these new environment variables exist. This has now been fixed. The following files are updated: SKILL.md — Environment Variables table now includes SKILLNET_MODEL and GITHUB_MIRROR api-reference.md — CLI command docs (--mirror, --model with env var note), Python SDK docs (mirror_url parameter),Environment Variables table, and Command ↔ Variable requirement matrix Agents reading the skill definition will now see all available configuration options, including the model priority chain: --model flag > SKILLNET_MODEL env var > gpt-4o default.

Thank you for your contributions!

shen774411223d avatar Mar 24 '26 03:03 shen774411223d