mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-04-05 02:33:48 +08:00
fix: improve skill system prompts and simplify tool descriptions
- Simplify skill-creator installation flow - Refine skill selection prompt for better matching - Add parameter alias and env variable hints for tools - Skip linkai-agent when unconfigured - Create skills/ dir in workspace on init
This commit is contained in:
@@ -708,7 +708,6 @@ class AgentStreamExecutor:
|
||||
if not tool_id:
|
||||
import uuid
|
||||
tool_id = f"call_{uuid.uuid4().hex[:24]}"
|
||||
logger.debug(f"⚠️ Tool call missing ID for '{tc.get('name')}', generated fallback: {tool_id}")
|
||||
|
||||
try:
|
||||
# Safely get arguments, handle None case
|
||||
|
||||
Reference in New Issue
Block a user