摘要: @dynamic_prompt def dynamic_system_prompt(request: ModelRequest) -> str: user_name = request.runtime.context.user_name system_prompt = f"You are a hel 阅读全文
posted @ 2026-01-21 23:42 十三山入秋 阅读(5) 评论(1) 推荐(0)
摘要: Q: 他是如何传参的? 比如 我现在 weatherFun(location: str) 这里面 有 location ,如何传进去的 A: 这是 LLM(大语言模型)的核心魔法,也是 Agent 的基本工作原理。这个过程是全自动的,不需要你手动传参。 整个流程如下: 注册 (Registratio 阅读全文
posted @ 2026-01-21 21:28 十三山入秋 阅读(13) 评论(0) 推荐(0)