[Bug]mcp无法调用工具操作 #7688
Replies: 11 comments
-
|
好皮的bot......换个persona试试?mcp注入进上下文里了的话,足够听话的bot应该不会有这种事吧( |
Beta Was this translation helpful? Give feedback.
-
|
是换个personal就行吗?
…---原始邮件---
发件人: "YI ***@***.***>
发送时间: 2026年4月18日(周六) 晚上9:53
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [AstrBotDevs/AstrBot] [Bug]mcp无法调用工具操作 (Issue #7647)
yizeyi18 left a comment (AstrBotDevs/AstrBot#7647)
好皮的bot......换个persona试试?mcp注入进上下文里了的话,足够听话的bot应该不会有这种事吧(
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
是的,我认为这也可能是上下文注入正确但persona让它不这么干的结果 |
Beta Was this translation helpful? Give feedback.
-
|
你的persona能给我看下吗?
…---原始邮件---
发件人: "YI ***@***.***>
发送时间: 2026年4月19日(周日) 下午4:19
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [AstrBotDevs/AstrBot] [Bug]mcp无法调用工具操作 (Issue #7647)
yizeyi18 left a comment (AstrBotDevs/AstrBot#7647)
是的,我认为这也可能是上下文注入正确但persona让它不这么干的结果
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
我的人格是非常像人的
…---原始邮件---
发件人: "YI ***@***.***>
发送时间: 2026年4月19日(周日) 下午4:19
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [AstrBotDevs/AstrBot] [Bug]mcp无法调用工具操作 (Issue #7647)
yizeyi18 left a comment (AstrBotDevs/AstrBot#7647)
是的,我认为这也可能是上下文注入正确但persona让它不这么干的结果
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
你可以用默认人格来测,helpful assistant那个 |
Beta Was this translation helpful? Give feedback.
-
|
有默认人格?我不知道
…---原始邮件---
发件人: "YI ***@***.***>
发送时间: 2026年4月19日(周日) 下午4:33
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [AstrBotDevs/AstrBot] [Bug]mcp无法调用工具操作 (Issue #7647)
yizeyi18 left a comment (AstrBotDevs/AstrBot#7647)
你可以用默认人格来测,helpful assistant那个
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
旧版本的 deepseek-chat(v3)可能不支持工具调用。可以更换模型试试。 |
Beta Was this translation helpful? Give feedback.
-
|
那哪个支持,请教一下
发自我的iPad
…------------------ 原始邮件 ------------------
发件人: Soulter ***@***.***>
发送时间: 2026年4月19日 16:52
收件人: AstrBotDevs/AstrBot ***@***.***>
抄送: mjy1113451 ***@***.***>, Author ***@***.***>
主题: Re: [AstrBotDevs/AstrBot] [Bug]mcp无法调用工具操作 (Issue #7647)
Soulter left a comment (AstrBotDevs/AstrBot#7647)
旧版本的 deepseek-chat(v3)可能不支持工具调用。可以更换模型试试。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
还是提不了,我换了gpt-oss-20b。
发自我的iPad
…------------------ 原始邮件 ------------------
发件人: Soulter ***@***.***>
发送时间: 2026年4月19日 16:52
收件人: AstrBotDevs/AstrBot ***@***.***>
抄送: mjy1113451 ***@***.***>, Author ***@***.***>
主题: Re: [AstrBotDevs/AstrBot] [Bug]mcp无法调用工具操作 (Issue #7647)
Soulter left a comment (AstrBotDevs/AstrBot#7647)
旧版本的 deepseek-chat(v3)可能不支持工具调用。可以更换模型试试。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
系统提示词设成
从你贴上来的报错信息只能看出来它没有尝试调用mcp( |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What happened / 发生了什么
我添加了一个github的mcp,我让bot去提issue,他说他不去
{
"transport": "streamable_http",
"url": "https://api.githubcopilot.com/mcp/",
"headers": {
"Authorization": "Bearer <YOUR_TOKEN>"
},
"timeout": 5,
"sse_read_timeout": 300
}
your token这里我换成了令牌
Reproduce / 如何复现?
AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器
docker部署,最新版astrbot,deepseek-chat
OS
Linux
Logs / 报错日志
2026-04-18 18:15:46.554] [Core] [DBUG] [sources.openai_source:583]: completion: ChatCompletion(id='9eea13fd-232b-4511-bb8f-70eb251406af', choices=[Choice(finish_reason='stop', index=0, logprobs=None, message=ChatCompletionMessage(content='tired', refusal=None, role='assistant', annotations=None, audio=None, function_call=None, tool_calls=None))], created=1776507346, model='deepseek-chat', object='chat.completion', service_tier=None, system_fingerprint=None, usage=CompletionUsage(completion_tokens=1, prompt_tokens=466, total_tokens=467, completion_tokens_details=CompletionTokensDetails(accepted_prediction_tokens=None, audio_tokens=None, reasoning_tokens=0, rejected_prediction_tokens=None), prompt_tokens_details=None))
Are you willing to submit a PR? / 你愿意提交 PR 吗?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions