{"id":119024,"date":"2026-10-28T18:24:50","date_gmt":"2026-10-28T10:24:50","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/119024.html"},"modified":"2026-10-28T18:24:50","modified_gmt":"2026-10-28T10:24:50","slug":"%e7%94%a8-hermes-%e6%a8%a1%e5%9e%8b%e8%b7%91%e9%80%9a%e8%87%aa%e4%b8%bb%e8%bf%9b%e5%8c%96-agent%ef%bc%9a%e4%bb%8e%e5%9b%ba%e5%ae%9a%e6%b5%81%e7%a8%8b%e5%88%b0%e5%8a%a8%e6%80%81%e8%bf%ad%e4%bb%a3","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/119024.html","title":{"rendered":"\u7528 Hermes \u6a21\u578b\u8dd1\u901a\u81ea\u4e3b\u8fdb\u5316 Agent\uff1a\u4ece\u56fa\u5b9a\u6d41\u7a0b\u5230\u52a8\u6001\u8fed\u4ee3\u7684\u5de5\u7a0b\u5b9e\u8df5"},"content":{"rendered":"<h3>\u4e3a\u4ec0\u4e48\u201c\u81ea\u4e3b\u8fdb\u5316\u201d\u662f\u667a\u80fd\u4f53\u7ed5\u4e0d\u5f00\u7684\u4e0b\u4e00\u9636\u6bb5<\/h3>\n<p>\u8fc7\u53bb\u534a\u5e74&#xff0c;\u6211\u5e26\u56e2\u961f\u505a\u8fc7\u4e0d\u5c11 Agent \u843d\u5730\u9879\u76ee\u3002\u65e9\u671f\u6211\u4eec\u4e60\u60ef\u628a\u4e1a\u52a1\u903b\u8f91\u5199\u6210\u56fa\u5b9a Prompt&#xff0c;\u914d\u5408\u4e00\u7ec4\u9884\u5b9a\u4e49\u5de5\u5177&#xff0c;\u8dd1\u901a\u540e\u4e0a\u7ebf\u3002\u8868\u9762\u770b\u4e00\u5207\u6b63\u5e38&#xff0c;\u4f46\u4e00\u65e6\u8fdb\u5165\u771f\u5b9e\u6d41\u91cf&#xff0c;\u95ee\u9898\u5c31\u66b4\u9732\u4e86&#xff1a;\u7528\u6237\u63d0\u95ee\u7a0d\u5fae\u8d85\u51fa\u9884\u8bbe\u8303\u56f4&#xff0c;\u6a21\u578b\u8981\u4e48\u5f3a\u884c\u5957\u7528\u65e7\u5de5\u5177&#xff0c;\u8981\u4e48\u76f4\u63a5\u8f93\u51fa\u683c\u5f0f\u9519\u8bef\u7684 JSON&#xff1b;\u9047\u5230\u6b65\u9aa4\u5931\u8d25\u65f6&#xff0c;Agent \u4e0d\u4f1a\u81ea\u5df1\u56de\u9000\u91cd\u8bd5&#xff0c;\u53ea\u80fd\u9760\u5916\u90e8\u7f51\u5173\u505a\u4eba\u5de5\u5e72\u9884\u6216\u89c4\u5219\u515c\u5e95\u3002<\/p>\n<p>\u8fd9\u79cd\u201c\u4e00\u6b21\u6027\u751f\u6210\u3001\u6267\u884c\u5b8c\u5c31\u7ed3\u675f\u201d\u7684\u6a21\u5f0f&#xff0c;\u5728\u6d4b\u8bd5\u73af\u5883\u91cc\u80fd\u8dd1\u901a&#xff0c;\u4f46\u5728\u751f\u4ea7\u73af\u5883\u7f3a\u4e4f\u5f39\u6027\u3002\u667a\u80fd\u4f53\u8981\u771f\u6b63\u627f\u62c5\u590d\u6742\u4efb\u52a1&#xff0c;\u5fc5\u987b\u5177\u5907\u4e24\u4e2a\u80fd\u529b&#xff1a;\u4e00\u662f\u80fd\u6839\u636e\u6267\u884c\u7ed3\u679c\u8c03\u6574\u540e\u7eed\u52a8\u4f5c&#xff0c;\u4e8c\u662f\u80fd\u628a\u5931\u8d25\u7ecf\u9a8c\u6c89\u6dc0\u4e0b\u6765&#xff0c;\u907f\u514d\u540c\u7c7b\u95ee\u9898\u91cd\u590d\u53d1\u751f\u3002\u6211\u4eec\u628a\u8fd9\u79cd\u80fd\u529b\u79f0\u4e3a\u201c\u81ea\u4e3b\u8fdb\u5316\u201d\u3002\u5b83\u4e0d\u662f\u8ba9\u6a21\u578b\u7a81\u7136\u53d8\u806a\u660e&#xff0c;\u800c\u662f\u901a\u8fc7\u53ef\u89c2\u6d4b\u7684\u95ed\u73af\u7ed3\u6784&#xff0c;\u8ba9\u7cfb\u7edf\u5177\u5907\u81ea\u6211\u6821\u51c6\u548c\u7b56\u7565\u66f4\u65b0\u7684\u5de5\u7a0b\u57fa\u7840\u3002<\/p>\n<p>\u8fd9\u4e00\u70b9\u6211\u6ca1\u6709\u53bb\u5bf9\u6bd4\u5e02\u9762\u4e0a\u5404\u79cd\u95ed\u6e90\u4ea7\u54c1\u7684\u9ed1\u76d2\u5b9e\u73b0&#xff0c;\u4f46\u4ece\u6211\u81ea\u5df1\u642d\u7684\u51e0\u5957\u5f00\u6e90\u94fe\u8def\u6765\u770b&#xff0c;\u6838\u5fc3\u5dee\u5f02\u5c31\u5728\u4e8e\u53cd\u9988\u662f\u5426\u88ab\u7ed3\u6784\u5316\u5730\u5582\u56de\u7ed9\u6a21\u578b&#xff0c;\u4ee5\u53ca\u5386\u53f2\u51b3\u7b56\u662f\u5426\u88ab\u6301\u4e45\u5316\u68c0\u7d22\u3002\u4e0b\u9762\u6211\u4f1a\u6309\u5b9e\u9645\u843d\u5730\u7684\u601d\u8def&#xff0c;\u628a\u8fd9\u5957\u673a\u5236\u62c6\u5f00\u8bb2\u6e05\u695a\u3002<\/p>\n<h3>\u628a\u62bd\u8c61\u6982\u5ff5\u62c6\u6210\u53ef\u5de5\u7a0b\u7684\u4e09\u4e2a\u95ed\u73af<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261028102441-6ae1cd69dddcf.png\" alt=\"\u628a\u62bd\u8c61\u6982\u5ff5\u62c6\u6210\u53ef\u5de5\u7a0b\u7684\u4e09\u4e2a\u95ed\u73af\" \/><\/p>\n<p>\u201c\u81ea\u4e3b\u8fdb\u5316\u201d\u542c\u8d77\u6765\u5f88\u5b8f\u5927&#xff0c;\u4f46\u843d\u5230\u4ee3\u7801\u91cc&#xff0c;\u53ea\u9700\u8981\u7ba1\u4f4f\u4e09\u4ef6\u4e8b&#xff1a;\u4e0a\u4e0b\u6587\u600e\u4e48\u5b58\u3001\u5931\u8d25\u600e\u4e48\u6539\u3001\u5de5\u5177\u600e\u4e48\u9009\u3002<\/p>\n<p>\u77ed\u671f\u8bb0\u5fc6\u4e0e\u4e0a\u4e0b\u6587\u538b\u7f29<br \/>\n\u5927\u6a21\u578b\u7684\u4e0a\u4e0b\u6587\u7a97\u53e3\u662f\u6709\u9650\u7684\u3002\u5982\u679c\u6bcf\u6b21\u8fed\u4ee3\u90fd\u628a\u539f\u59cb\u5bf9\u8bdd\u5168\u91cf\u585e\u8fdb\u53bb&#xff0c;\u4e0d\u4ec5\u5ef6\u8fdf\u98d9\u5347&#xff0c;\u8fd8\u4f1a\u7a00\u91ca\u5173\u952e\u4fe1\u606f\u3002\u6211\u4eec\u9700\u8981\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684\u538b\u7f29\u5c42&#xff0c;\u628a\u591a\u8f6e\u4ea4\u4e92\u4e2d\u771f\u6b63\u5f71\u54cd\u51b3\u7b56\u7684\u4fe1\u606f\u63d0\u53d6\u51fa\u6765&#xff0c;\u4fdd\u7559\u72b6\u6001\u6807\u8bb0\u548c\u5de5\u5177\u8fd4\u56de\u6458\u8981&#xff0c;\u4e22\u5f03\u5197\u4f59\u7684\u5ba2\u5957\u8bdd\u6216\u91cd\u590d\u786e\u8ba4\u3002<\/p>\n<p>\u81ea\u53cd\u601d\u4e0e\u9519\u8bef\u4fee\u6b63<br \/>\n\u4f20\u7edf Agent \u62ff\u5230\u5de5\u5177\u8fd4\u56de\u540e\u76f4\u63a5\u62fc\u63a5\u7ee7\u7eed\u751f\u6210\u3002\u81ea\u4e3b\u8fdb\u5316\u7684\u505a\u6cd5\u662f\u52a0\u4e00\u5c42\u4e2d\u95f4\u6001&#xff1a;\u8ba9\u6a21\u578b\u5148\u5224\u65ad\u5f53\u524d\u6b65\u9aa4\u662f\u5426\u8fbe\u6210\u9884\u671f&#xff0c;\u5982\u679c\u6ca1\u6709&#xff0c;\u5206\u6790\u539f\u56e0&#xff08;\u53c2\u6570\u9519\u3001\u5de5\u5177\u4e0d\u53ef\u7528\u3001\u6743\u9650\u4e0d\u8db3\u8fd8\u662f\u903b\u8f91\u65ad\u5c42&#xff09;&#xff0c;\u7136\u540e\u751f\u6210\u4fee\u6b63\u540e\u7684\u6307\u4ee4\u518d\u6267\u884c\u3002\u8fd9\u4e00\u6b65\u5fc5\u987b\u9650\u5236\u6700\u5927\u5c1d\u8bd5\u6b21\u6570&#xff0c;\u5426\u5219\u5bb9\u6613\u9677\u5165\u6b7b\u5faa\u73af\u3002<\/p>\n<p>\u5de5\u5177\u8def\u7531\u4e0e\u7b56\u7565\u8bb0\u5fc6<br \/>\n\u968f\u7740\u4efb\u52a1\u590d\u6742\u5ea6\u4e0a\u5347&#xff0c;\u5de5\u5177\u5217\u8868\u4f1a\u8fc5\u901f\u81a8\u80c0\u3002 naive \u7684\u505a\u6cd5\u662f\u8ba9\u6a21\u578b\u6bcf\u6b21\u90fd\u4ece\u5b8c\u6574\u5217\u8868\u4e2d\u6311\u9009&#xff0c;\u6548\u7387\u6781\u4f4e\u4e14\u5bb9\u6613\u9009\u9519\u3002\u6211\u4eec\u9700\u8981\u7ef4\u62a4\u4e00\u4e2a\u201c\u7b56\u7565\u8bb0\u5fc6\u201d&#xff0c;\u8bb0\u5f55\u54ea\u4e9b\u5de5\u5177\u7ec4\u5408\u5728\u672c\u6b21\u4efb\u52a1\u4e2d\u6709\u6548\u3001\u54ea\u4e9b\u89e6\u53d1\u8fc7\u8d85\u65f6\u6216\u62a5\u9519\u3002\u4e0b\u6b21\u9047\u5230\u76f8\u4f3c\u610f\u56fe\u65f6&#xff0c;\u4f18\u5148\u4ece\u9ad8\u547d\u4e2d\u5217\u8868\u4e2d\u9009\u62e9&#xff0c;\u5e76\u5728\u8fd0\u884c\u65f6\u52a8\u6001\u88c1\u526a\u5019\u9009\u96c6\u3002<\/p>\n<p>\u8fd9\u4e09\u4e2a\u73af\u8282\u4e32\u8054\u8d77\u6765&#xff0c;\u5c31\u662f\u4e00\u4e2a\u6700\u5c0f\u53ef\u7528\u7684\u81ea\u8fed\u4ee3\u5f15\u64ce\u3002\u63a5\u4e0b\u6765\u770b\u5177\u4f53\u5b9e\u73b0\u3002<\/p>\n<h3>\u6838\u5fc3\u5faa\u73af\u5b9e\u73b0&#xff1a;\u7528 Hermes \u8dd1\u8d77\u7b2c\u4e00\u7248\u81ea\u8fed\u4ee3<\/h3>\n<p>\u73af\u5883\u65b9\u9762&#xff0c;\u6211\u4f7f\u7528\u7684\u662f Python 3.10\u3001PyTorch 2.1.2\u3001Transformers 4.40.0&#xff0c;\u63a8\u7406\u5c42\u4f9d\u8d56 vLLM 0.4.1&#xff08;\u672c\u5730\u90e8\u7f72&#xff09;\u6216\u76f4\u63a5\u8c03\u7528\u517c\u5bb9 OpenAI \u534f\u8bae\u7684\u4e91\u670d\u52a1\u3002\u8fd9\u91cc\u9009\u7528 Nous Research \u7684 Hermes \u7cfb\u5217\u6a21\u578b&#xff08;\u4f8b\u5982 NousResearch\/hermes-3-llama-3.1-8b \u7684 GGUF \u91cf\u5316\u7248\u6216\u539f\u751f\u6743\u91cd&#xff09;&#xff0c;\u4e3b\u8981\u662f\u56e0\u4e3a\u5b83\u5728\u6307\u4ee4\u9075\u5faa\u548c\u7ed3\u6784\u5316\u8f93\u51fa\u4e0a\u8868\u73b0\u7a33\u5b9a&#xff0c;\u4e14\u5bf9\u4e2d\u6587\u573a\u666f\u7684\u9002\u914d\u5ea6\u4f18\u4e8e\u90e8\u5206\u7eaf\u82f1\u6587\u5fae\u8c03\u57fa\u5ea7\u3002<\/p>\n<p>\u4e0b\u9762\u662f\u6838\u5fc3\u63a7\u5236\u5faa\u73af\u7684\u9aa8\u67b6\u4ee3\u7801\u3002\u4e3a\u4e86\u4fdd\u6301\u53ef\u8bfb\u6027&#xff0c;\u7701\u7565\u4e86\u65e5\u5fd7\u6253\u5370\u548c\u5f02\u5e38\u6355\u83b7\u7684\u6837\u677f\u4ee3\u7801&#xff0c;\u4f46\u4fdd\u7559\u4e86\u5173\u952e\u7684\u6570\u636e\u6d41\u548c\u8bbe\u8ba1\u610f\u56fe\u3002<\/p>\n<p><span class=\"token keyword\">import<\/span> json<br \/>\n<span class=\"token keyword\">from<\/span> typing <span class=\"token keyword\">import<\/span> Dict<span class=\"token punctuation\">,<\/span> List<span class=\"token punctuation\">,<\/span> Optional<br \/>\n<span class=\"token keyword\">from<\/span> datetime <span class=\"token keyword\">import<\/span> datetime<\/p>\n<p><span class=\"token keyword\">class<\/span> <span class=\"token class-name\">AutonomousAgentLoop<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token keyword\">def<\/span> <span class=\"token function\">__init__<\/span><span class=\"token punctuation\">(<\/span>self<span class=\"token punctuation\">,<\/span> llm_client<span class=\"token punctuation\">,<\/span> tools_registry<span class=\"token punctuation\">,<\/span> max_reflections<span class=\"token operator\">&#061;<\/span><span class=\"token number\">3<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        self<span class=\"token punctuation\">.<\/span>llm <span class=\"token operator\">&#061;<\/span> llm_client<br \/>\n        self<span class=\"token punctuation\">.<\/span>tools <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">{<\/span>t<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;name&#034;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">:<\/span> t<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;func&#034;<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token keyword\">for<\/span> t <span class=\"token keyword\">in<\/span> tools_registry<span class=\"token punctuation\">}<\/span><br \/>\n        self<span class=\"token punctuation\">.<\/span>max_reflections <span class=\"token operator\">&#061;<\/span> max_reflections<br \/>\n        <span class=\"token comment\"># \u7b56\u7565\u8bb0\u5fc6&#xff1a;\u8bb0\u5f55\u5de5\u5177\u540d -&gt; \u6210\u529f\/\u5931\u8d25\u6b21\u6570 &amp; \u6700\u8fd1\u6210\u529f\u53c2\u6570<\/span><br \/>\n        self<span class=\"token punctuation\">.<\/span>policy_memory<span class=\"token punctuation\">:<\/span> Dict<span class=\"token punctuation\">[<\/span><span class=\"token builtin\">str<\/span><span class=\"token punctuation\">,<\/span> Dict<span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">}<\/span><br \/>\n        <span class=\"token comment\"># \u77ed\u671f\u8bb0\u5fc6&#xff1a;\u4ec5\u4fdd\u7559\u8fd1 N \u6b65\u7684\u72b6\u6001\u6458\u8981<\/span><br \/>\n        self<span class=\"token punctuation\">.<\/span>short_term_buffer<span class=\"token punctuation\">:<\/span> List<span class=\"token punctuation\">[<\/span>Dict<span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span><\/p>\n<p>    <span class=\"token keyword\">def<\/span> <span class=\"token function\">_compress_context<\/span><span class=\"token punctuation\">(<\/span>self<span class=\"token punctuation\">,<\/span> history<span class=\"token punctuation\">:<\/span> List<span class=\"token punctuation\">[<\/span>Dict<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&gt;<\/span> <span class=\"token builtin\">str<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u5c06\u539f\u59cb\u4ea4\u4e92\u538b\u7f29\u4e3a\u72b6\u6001\u6458\u8981&#xff0c;\u907f\u514d\u7a97\u53e3\u7206\u70b8&#034;&#034;&#034;<\/span><br \/>\n        <span class=\"token comment\"># \u5b9e\u9645\u9879\u76ee\u4e2d\u4f1a\u4f7f\u7528\u6ed1\u52a8\u7a97\u53e3 &#043; \u5173\u952e\u4e8b\u4ef6\u62bd\u53d6<\/span><br \/>\n        <span class=\"token comment\"># \u6b64\u5904\u7b80\u5316\u4e3a\u53d6\u6700\u8fd1 3 \u6761\u975e\u7a7a\u4ea4\u4e92 &#043; \u5f53\u524d\u5f85\u529e<\/span><br \/>\n        recent <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">[<\/span>h <span class=\"token keyword\">for<\/span> h <span class=\"token keyword\">in<\/span> history<span class=\"token punctuation\">[<\/span><span class=\"token operator\">&#8211;<\/span><span class=\"token number\">3<\/span><span class=\"token punctuation\">:<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token keyword\">if<\/span> h<span class=\"token punctuation\">.<\/span>get<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;role&#034;<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#061;&#061;<\/span> <span class=\"token string\">&#034;assistant&#034;<\/span><span class=\"token punctuation\">]<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> <span class=\"token string\">&#034;\\\\n&#034;<\/span><span class=\"token punctuation\">.<\/span>join<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">[<\/span>r<span class=\"token punctuation\">.<\/span>get<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;content&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;&#034;<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">for<\/span> r <span class=\"token keyword\">in<\/span> recent<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>    <span class=\"token keyword\">def<\/span> <span class=\"token function\">_reflect_and_correct<\/span><span class=\"token punctuation\">(<\/span>self<span class=\"token punctuation\">,<\/span> raw_output<span class=\"token punctuation\">:<\/span> <span class=\"token builtin\">str<\/span><span class=\"token punctuation\">,<\/span> task_goal<span class=\"token punctuation\">:<\/span> <span class=\"token builtin\">str<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&gt;<\/span> Optional<span class=\"token punctuation\">[<\/span><span class=\"token builtin\">str<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u81ea\u53cd\u601d&#xff1a;\u5224\u65ad\u662f\u5426\u8fbe\u6807&#xff0c;\u672a\u8fbe\u6807\u5219\u751f\u6210\u4fee\u6b63\u6307\u4ee4&#034;&#034;&#034;<\/span><br \/>\n        reflection_prompt <span class=\"token operator\">&#061;<\/span> <span class=\"token string-interpolation\"><span class=\"token string\">f&#034;&#034;&#034;<br \/>\n        \u76ee\u6807\u4efb\u52a1: <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>task_goal<span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\"><br \/>\n        \u5f53\u524d\u8f93\u51fa: <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>raw_output<span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\"><br \/>\n        \u8bf7\u5224\u65ad:<br \/>\n        1. \u662f\u5426\u5b8c\u5168\u6ee1\u8db3\u76ee\u6807&#xff1f;(\u662f\/\u5426)<br \/>\n        2. \u82e5\u5426&#xff0c;\u6307\u51fa\u7f3a\u5931\u6216\u9519\u8bef\u70b9&#xff0c;\u5e76\u751f\u6210\u4fee\u6b63\u540e\u7684\u6267\u884c\u6307\u4ee4\u3002<br \/>\n        \u4ec5\u8fd4\u56de JSON \u683c\u5f0f: {{&#034;status&#034;: &#034;done|needs_fix&#034;, &#034;reason&#034;: &#034;&#8230;&#034;, &#034;corrected_instruction&#034;: &#034;&#8230;&#034;}}<br \/>\n        &#034;&#034;&#034;<\/span><\/span><br \/>\n        resp <span class=\"token operator\">&#061;<\/span> self<span class=\"token punctuation\">.<\/span>llm<span class=\"token punctuation\">.<\/span>chat<span class=\"token punctuation\">(<\/span>reflection_prompt<span class=\"token punctuation\">,<\/span> response_format<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;json&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token keyword\">try<\/span><span class=\"token punctuation\">:<\/span><br \/>\n            data <span class=\"token operator\">&#061;<\/span> json<span class=\"token punctuation\">.<\/span>loads<span class=\"token punctuation\">(<\/span>resp<span class=\"token punctuation\">)<\/span><br \/>\n            <span class=\"token keyword\">if<\/span> data<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;status&#034;<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#061;&#061;<\/span> <span class=\"token string\">&#034;done&#034;<\/span><span class=\"token punctuation\">:<\/span><br \/>\n                <span class=\"token keyword\">return<\/span> <span class=\"token boolean\">None<\/span><br \/>\n            <span class=\"token keyword\">return<\/span> data<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;corrected_instruction&#034;<\/span><span class=\"token punctuation\">]<\/span><br \/>\n        <span class=\"token keyword\">except<\/span> Exception<span class=\"token punctuation\">:<\/span><br \/>\n            <span class=\"token keyword\">return<\/span> <span class=\"token boolean\">None<\/span><\/p>\n<p>    <span class=\"token keyword\">def<\/span> <span class=\"token function\">run_step<\/span><span class=\"token punctuation\">(<\/span>self<span class=\"token punctuation\">,<\/span> user_input<span class=\"token punctuation\">:<\/span> <span class=\"token builtin\">str<\/span><span class=\"token punctuation\">,<\/span> initial_tools<span class=\"token punctuation\">:<\/span> List<span class=\"token punctuation\">[<\/span><span class=\"token builtin\">str<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&gt;<\/span> Dict<span class=\"token punctuation\">:<\/span><br \/>\n        current_tools <span class=\"token operator\">&#061;<\/span> self<span class=\"token punctuation\">.<\/span>_route_tools<span class=\"token punctuation\">(<\/span>initial_tools<span class=\"token punctuation\">)<\/span><br \/>\n        iteration <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">0<\/span><br \/>\n        raw_plan <span class=\"token operator\">&#061;<\/span> <span class=\"token boolean\">None<\/span><\/p>\n<p>        <span class=\"token keyword\">while<\/span> iteration <span class=\"token operator\">&lt;<\/span> self<span class=\"token punctuation\">.<\/span>max_reflections<span class=\"token punctuation\">:<\/span><br \/>\n            <span class=\"token comment\"># 1. \u751f\u6210\u6267\u884c\u8ba1\u5212<\/span><br \/>\n            plan_prompt <span class=\"token operator\">&#061;<\/span> <span class=\"token string-interpolation\"><span class=\"token string\">f&#034;&#034;&#034;<br \/>\n            \u53ef\u7528\u5de5\u5177: <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>current_tools<span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\"><br \/>\n            \u77ed\u671f\u8bb0\u5fc6: <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>self<span class=\"token punctuation\">.<\/span>_compress_context<span class=\"token punctuation\">(<\/span>self<span class=\"token punctuation\">.<\/span>short_term_buffer<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\"><br \/>\n            \u8bf7\u751f\u6210\u7ed3\u6784\u5316\u6267\u884c\u8ba1\u5212\u3002\u4ec5\u8fd4\u56de JSON: {{&#034;tool&#034;: &#034;xxx&#034;, &#034;params&#034;: {{}}}}<br \/>\n            &#034;&#034;&#034;<\/span><\/span><br \/>\n            raw_plan <span class=\"token operator\">&#061;<\/span> self<span class=\"token punctuation\">.<\/span>llm<span class=\"token punctuation\">.<\/span>chat<span class=\"token punctuation\">(<\/span>plan_prompt<span class=\"token punctuation\">,<\/span> response_format<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;json&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>            <span class=\"token comment\"># 2. \u6267\u884c\u5de5\u5177<\/span><br \/>\n            action <span class=\"token operator\">&#061;<\/span> json<span class=\"token punctuation\">.<\/span>loads<span class=\"token punctuation\">(<\/span>raw_plan<span class=\"token punctuation\">)<\/span><br \/>\n            tool_name <span class=\"token operator\">&#061;<\/span> action<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;tool&#034;<\/span><span class=\"token punctuation\">]<\/span><br \/>\n            params <span class=\"token operator\">&#061;<\/span> action<span class=\"token punctuation\">.<\/span>get<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;params&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>            <span class=\"token keyword\">if<\/span> tool_name <span class=\"token keyword\">not<\/span> <span class=\"token keyword\">in<\/span> self<span class=\"token punctuation\">.<\/span>tools<span class=\"token punctuation\">:<\/span><br \/>\n                <span class=\"token keyword\">raise<\/span> ValueError<span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;\u5de5\u5177 <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>tool_name<span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\"> \u4e0d\u5b58\u5728&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>            result <span class=\"token operator\">&#061;<\/span> self<span class=\"token punctuation\">.<\/span>tools<span class=\"token punctuation\">[<\/span>tool_name<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">**<\/span>params<span class=\"token punctuation\">)<\/span><\/p>\n<p>            <span class=\"token comment\"># 3. \u8bb0\u5f55\u5230\u77ed\u671f\u8bb0\u5fc6<\/span><br \/>\n            self<span class=\"token punctuation\">.<\/span>short_term_buffer<span class=\"token punctuation\">.<\/span>append<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">{<\/span><br \/>\n                <span class=\"token string\">&#034;step&#034;<\/span><span class=\"token punctuation\">:<\/span> iteration<span class=\"token punctuation\">,<\/span><br \/>\n                <span class=\"token string\">&#034;tool&#034;<\/span><span class=\"token punctuation\">:<\/span> tool_name<span class=\"token punctuation\">,<\/span><br \/>\n                <span class=\"token string\">&#034;result_summary&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token builtin\">str<\/span><span class=\"token punctuation\">(<\/span>result<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">:<\/span><span class=\"token number\">200<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span><br \/>\n                <span class=\"token string\">&#034;timestamp&#034;<\/span><span class=\"token punctuation\">:<\/span> datetime<span class=\"token punctuation\">.<\/span>now<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>isoformat<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\n            <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>            <span class=\"token comment\"># 4. \u81ea\u53cd\u601d<\/span><br \/>\n            corrected <span class=\"token operator\">&#061;<\/span> self<span class=\"token punctuation\">.<\/span>_reflect_and_correct<span class=\"token punctuation\">(<\/span><span class=\"token builtin\">str<\/span><span class=\"token punctuation\">(<\/span>result<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> user_input<span class=\"token punctuation\">)<\/span><br \/>\n            <span class=\"token keyword\">if<\/span> corrected <span class=\"token keyword\">is<\/span> <span class=\"token boolean\">None<\/span><span class=\"token punctuation\">:<\/span><br \/>\n                <span class=\"token comment\"># \u8fbe\u6210\u76ee\u6807&#xff0c;\u66f4\u65b0\u7b56\u7565\u8bb0\u5fc6<\/span><br \/>\n                self<span class=\"token punctuation\">.<\/span>policy_memory<span class=\"token punctuation\">.<\/span>setdefault<span class=\"token punctuation\">(<\/span>tool_name<span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;hits&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;misses&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;last_success_params&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">)<\/span><br \/>\n                self<span class=\"token punctuation\">.<\/span>policy_memory<span class=\"token punctuation\">[<\/span>tool_name<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;hits&#034;<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#043;&#061;<\/span> <span class=\"token number\">1<\/span><br \/>\n                self<span class=\"token punctuation\">.<\/span>policy_memory<span class=\"token punctuation\">[<\/span>tool_name<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;last_success_params&#034;<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#061;<\/span> params<br \/>\n                <span class=\"token keyword\">return<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;status&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;completed&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;final_result&#034;<\/span><span class=\"token punctuation\">:<\/span> result<span class=\"token punctuation\">}<\/span><\/p>\n<p>            <span class=\"token comment\"># 5. \u672a\u8fbe\u6210&#xff0c;\u6ce8\u5165\u4fee\u6b63\u6307\u4ee4\u7ee7\u7eed\u5faa\u73af<\/span><br \/>\n            iteration <span class=\"token operator\">&#043;&#061;<\/span> <span class=\"token number\">1<\/span><br \/>\n            user_input <span class=\"token operator\">&#061;<\/span> corrected  <span class=\"token comment\"># \u5c06\u4fee\u6b63\u6307\u4ee4\u4f5c\u4e3a\u4e0b\u4e00\u8f6e\u8f93\u5165<\/span><\/p>\n<p>        <span class=\"token keyword\">return<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;status&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;timeout&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;last_attempt&#034;<\/span><span class=\"token punctuation\">:<\/span> raw_plan<span class=\"token punctuation\">}<\/span><\/p>\n<p>    <span class=\"token keyword\">def<\/span> <span class=\"token function\">_route_tools<\/span><span class=\"token punctuation\">(<\/span>self<span class=\"token punctuation\">,<\/span> candidates<span class=\"token punctuation\">:<\/span> List<span class=\"token punctuation\">[<\/span><span class=\"token builtin\">str<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&gt;<\/span> List<span class=\"token punctuation\">[<\/span><span class=\"token builtin\">str<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u57fa\u4e8e\u7b56\u7565\u8bb0\u5fc6\u88c1\u526a\u5019\u9009\u5de5\u5177\u96c6&#034;&#034;&#034;<\/span><br \/>\n        filtered <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span><br \/>\n        <span class=\"token keyword\">for<\/span> t <span class=\"token keyword\">in<\/span> candidates<span class=\"token punctuation\">:<\/span><br \/>\n            stats <span class=\"token operator\">&#061;<\/span> self<span class=\"token punctuation\">.<\/span>policy_memory<span class=\"token punctuation\">.<\/span>get<span class=\"token punctuation\">(<\/span>t<span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">)<\/span><br \/>\n            <span class=\"token comment\"># \u5982\u679c\u8be5\u5de5\u5177\u8fd1\u671f\u9891\u7e41\u5931\u8d25\u4e14\u65e0\u6210\u529f\u6848\u4f8b&#xff0c;\u964d\u4f4e\u4f18\u5148\u7ea7\u6216\u76f4\u63a5\u5254\u9664<\/span><br \/>\n            <span class=\"token keyword\">if<\/span> stats<span class=\"token punctuation\">.<\/span>get<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;misses&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&gt;<\/span> <span class=\"token number\">3<\/span> <span class=\"token keyword\">and<\/span> stats<span class=\"token punctuation\">.<\/span>get<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;hits&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#061;&#061;<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">:<\/span><br \/>\n                <span class=\"token keyword\">continue<\/span><br \/>\n            filtered<span class=\"token punctuation\">.<\/span>append<span class=\"token punctuation\">(<\/span>t<span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> filtered <span class=\"token keyword\">if<\/span> filtered <span class=\"token keyword\">else<\/span> candidates<span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">:<\/span><span class=\"token number\">3<\/span><span class=\"token punctuation\">]<\/span>  <span class=\"token comment\"># \u4fdd\u5e95\u81f3\u5c11\u7559 3 \u4e2a<\/span><\/p>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u7684\u5173\u952e\u4e0d\u5728\u8bed\u6cd5&#xff0c;\u800c\u5728\u6570\u636e\u6d41\u5411\u8bbe\u8ba1\u3002_reflect_and_correct \u5f3a\u5236\u6a21\u578b\u5148\u505a\u72b6\u6001\u5224\u65ad\u518d\u505a\u4e0b\u4e00\u6b65\u751f\u6210&#xff0c;\u907f\u514d\u4e86\u201c\u76f2\u76ee\u91cd\u8bd5\u201d&#xff1b;_route_tools \u5229\u7528\u7b80\u5355\u7684\u8ba1\u6570\u9608\u503c\u505a\u5de5\u5177\u526a\u679d&#xff0c;\u5927\u5e45\u51cf\u5c11\u4e86\u65e0\u6548\u63a8\u7406&#xff1b;_compress_context \u867d\u7136\u5728\u8fd9\u91cc\u53ea\u53d6\u4e86\u6700\u8fd1\u51e0\u6761&#xff0c;\u4f46\u5728\u5b9e\u9645\u751f\u4ea7\u91cc\u4f1a\u7ed3\u5408\u5173\u952e\u8bcd\u63d0\u53d6\u548c\u5411\u91cf\u76f8\u4f3c\u5ea6\u505a\u52a0\u6743\u6458\u8981&#xff0c;\u4fdd\u8bc1\u957f\u5468\u671f\u4efb\u52a1\u4e0d\u4e22\u5931\u6838\u5fc3\u7ea6\u675f\u3002<\/p>\n<h3>\u5b9e\u9645\u538b\u6d4b\u91cc\u7684\u51e0\u4e2a\u786c\u9aa8\u5934<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261028102446-6ae1cd6e3b7f3.png\" alt=\"\u5b9e\u9645\u538b\u6d4b\u91cc\u7684\u51e0\u4e2a\u786c\u9aa8\u5934\" \/><\/p>\n<p>\u628a\u539f\u578b\u8dd1\u901a\u53ea\u662f\u7b2c\u4e00\u6b65&#xff0c;\u653e\u8fdb\u7c7b\u4f3c\u5ba2\u670d\u5de5\u5355\u5904\u7406\u6216\u5185\u90e8\u6570\u636e\u6e05\u6d17\u7684\u573a\u666f\u540e&#xff0c;\u95ee\u9898\u624d\u771f\u6b63\u663e\u73b0\u3002<\/p>\n<p>\u8fed\u4ee3\u53d1\u6563\u4e0e\u6b7b\u5faa\u73af<br \/>\n\u7b2c\u4e00\u6b21\u4e0a\u7ebf\u65f6&#xff0c;\u6211\u4eec\u8bbe\u7f6e\u4e86 max_reflections&#061;5\u3002\u9047\u5230\u4e00\u4e2a\u8de8\u5e93\u67e5\u8be2\u4efb\u52a1&#xff0c;\u6a21\u578b\u5728\u7b2c 3 \u6b21\u53cd\u601d\u65f6\u4ea7\u751f\u4e86\u201c\u53c2\u6570\u8d8a\u6539\u8d8a\u504f\u79bb\u201d\u7684\u60c5\u51b5&#xff0c;\u6700\u7ec8\u5361\u5728\u540c\u4e00\u4e2a\u5de5\u5177\u4e0a\u53cd\u590d\u91cd\u8bd5\u3002\u6392\u67e5\u53d1\u73b0&#xff0c;\u53cd\u601d\u63d0\u793a\u8bcd\u91cc\u7f3a\u5c11\u660e\u786e\u7684\u201c\u8fb9\u754c\u6761\u4ef6\u6821\u9a8c\u201d&#xff0c;\u6a21\u578b\u628a\u201c\u53c2\u6570\u683c\u5f0f\u5fae\u8c03\u201d\u5f53\u6210\u4e86\u4e3b\u8981\u6539\u8fdb\u65b9\u5411&#xff0c;\u800c\u4e0d\u662f\u610f\u8bc6\u5230\u5e95\u5c42\u63a5\u53e3\u672c\u8eab\u5c31\u62d2\u63a5\u8be5\u8bf7\u6c42\u3002\u6211\u4eec\u5728 _reflect_and_correct \u91cc\u8ffd\u52a0\u4e86\u4e00\u6b65\u786e\u5b9a\u6027\u6821\u9a8c&#xff08;\u6bd4\u5982\u68c0\u67e5\u5fc5\u586b\u5b57\u6bb5\u3001\u7c7b\u578b\u5339\u914d\u3001API \u6587\u6863\u7ea6\u5b9a\u7684\u679a\u4e3e\u503c&#xff09;&#xff0c;\u53d1\u6563\u7387\u4e0b\u964d\u4e86\u7ea6 70%\u3002<\/p>\n<p>\u5e7b\u89c9\u653e\u5927\u4e0e\u6210\u672c\u5931\u63a7<br \/>\n\u81ea\u4e3b\u8fed\u4ee3\u610f\u5473\u7740\u5355\u6b21\u4efb\u52a1\u53ef\u80fd\u89e6\u53d1 3~6 \u6b21\u6a21\u578b\u8c03\u7528\u3002\u5982\u679c\u6bcf\u6b21\u90fd\u7528 70B \u7ea7\u522b\u7684\u6ee1\u8840\u6a21\u578b&#xff0c;\u6210\u672c\u4f1a\u5448\u7ebf\u6027\u751a\u81f3\u6307\u6570\u589e\u957f\u3002\u6211\u7684\u505a\u6cd5\u662f\u5206\u5c42\u8c03\u7528&#xff1a;\u521d\u59cb\u89c4\u5212\u548c\u590d\u6742\u63a8\u7406\u9636\u6bb5\u7528 Hermes-8B \u6216\u540c\u7b49\u89c4\u6a21\u6a21\u578b&#xff1b;\u53ea\u6709\u5f53\u53cd\u601d\u7f6e\u4fe1\u5ea6\u4f4e\u4e8e\u9608\u503c&#xff08;\u6bd4\u5982\u8fde\u7eed\u4e24\u6b21 needs_fix&#xff09;\u65f6&#xff0c;\u624d\u5207\u6362\u5230\u5927\u53c2\u6570\u6a21\u578b\u6216\u5f15\u5165\u5916\u90e8\u77e5\u8bc6\u5e93\u8f85\u52a9\u3002\u540c\u65f6&#xff0c;\u5728\u5de5\u5177\u6267\u884c\u524d\u52a0\u5165\u8f7b\u91cf\u7ea7\u524d\u7f6e\u68c0\u67e5\u811a\u672c&#xff0c;\u628a\u660e\u663e\u4e0d\u53ef\u80fd\u7684\u53c2\u6570\u62e6\u622a\u5728 LLM \u4e4b\u5916\u3002<\/p>\n<p>\u600e\u4e48\u8bc1\u660e\u201c\u8fdb\u5316\u201d\u53d1\u751f\u4e86<br \/>\n\u5f88\u591a\u56e2\u961f\u628a\u201c\u80fd\u81ea\u52a8\u91cd\u8bd5\u201d\u5f53\u6210\u8fdb\u5316&#xff0c;\u8fd9\u4e0d\u591f\u4e25\u8c28\u3002\u6211\u7528\u4e86\u4e09\u4e2a\u53ef\u91cf\u5316\u6307\u6807&#xff1a;<\/p>\n<li>\u9996\u56de\u5408\u6210\u529f\u7387&#xff08;First-attempt pass rate&#xff09;&#xff1a;\u521d\u59cb\u8f83\u4f4e&#xff0c;\u7ecf\u8fc7\u7b56\u7565\u8bb0\u5fc6\u6c89\u6dc0\u540e\u5e94\u9010\u6b65\u722c\u5347\u3002<\/li>\n<li>\u5e73\u5747\u8fed\u4ee3\u6b65\u6570&#xff1a;\u521d\u671f\u53ef\u80fd\u504f\u9ad8&#xff0c;\u7a33\u5b9a\u671f\u5e94\u6536\u655b\u5230 2~3 \u6b65\u3002<\/li>\n<li>\u5de5\u5177\u547d\u4e2d\u7387\u5206\u5e03&#xff1a;\u9ad8\u9891\u4f7f\u7528\u5de5\u5177\u7684\u6bd4\u4f8b\u63d0\u5347&#xff0c;\u51b7\u95e8\u5de5\u5177\u7684\u8bef\u8c03\u6b21\u6570\u4e0b\u964d\u3002<br \/>\n\u8dd1\u4e86\u4e00\u5468\u771f\u5b9e\u5de5\u5355\u540e&#xff0c;\u9996\u56de\u5408\u6210\u529f\u7387\u4ece 41% \u63d0\u5347\u5230 68%&#xff0c;\u5e73\u5747\u8fed\u4ee3\u6b65\u6570\u4ece 4.2 \u964d\u5230 2.9\u3002\u8fd9\u8bf4\u660e\u7b56\u7565\u8bb0\u5fc6\u548c\u53cd\u5c04\u673a\u5236\u786e\u5b9e\u5728\u8d77\u4f5c\u7528&#xff0c;\u800c\u4e0d\u662f\u6a21\u578b\u968f\u673a\u62bd\u4e2d\u4e86\u6b63\u786e\u7b54\u6848\u3002<\/li>\n<p>\u8fd9\u4e00\u70b9\u6211\u6ca1\u6709\u9a8c\u8bc1\u5176\u5728\u6781\u7aef\u5bf9\u6297\u6027\u8f93\u5165\u4e0b\u7684\u9c81\u68d2\u6027&#xff0c;\u5982\u679c\u4efb\u52a1\u6d89\u53ca\u91d1\u878d\u98ce\u63a7\u6216\u533b\u7597\u95ee\u8bca&#xff0c;\u8fd8\u9700\u8981\u53e0\u52a0\u89c4\u5219\u5f15\u64ce\u548c\u4eba\u5de5\u5ba1\u6279\u8282\u70b9&#xff0c;\u4e0d\u80fd\u7eaf\u7cb9\u4f9d\u8d56\u6a21\u578b\u81ea\u6cbb\u3002<\/p>\n<h3>\u843d\u5730\u5efa\u8bae\u4e0e\u6280\u672f\u53d6\u820d<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261028102446-6ae1cd6e6e77d.png\" alt=\"\u843d\u5730\u5efa\u8bae\u4e0e\u6280\u672f\u53d6\u820d\" \/><\/p>\n<p>\u81ea\u4e3b\u8fdb\u5316\u4e0d\u662f\u94f6\u5f39&#xff0c;\u5b83\u66f4\u9002\u5408\u4ee5\u4e0b\u573a\u666f&#xff1a;<\/p>\n<ul>\n<li>\u4efb\u52a1\u8def\u5f84\u5b58\u5728\u591a\u79cd\u5408\u6cd5\u5206\u652f&#xff0c;\u4e14\u5931\u8d25\u6a21\u5f0f\u53ef\u9884\u671f<\/li>\n<li>\u62e5\u6709\u6807\u51c6\u5316\u7a0b\u5ea6\u8f83\u9ad8\u7684\u5de5\u5177\u94fe\u6216 API<\/li>\n<li>\u5bf9\u5bb9\u9519\u7387\u6709\u4e00\u5b9a\u8981\u6c42&#xff0c;\u5141\u8bb8\u5c11\u91cf\u91cd\u8bd5\u6362\u53d6\u66f4\u9ad8\u51c6\u786e\u7387<\/li>\n<\/ul>\n<p>\u5982\u679c\u4f60\u7684\u4e1a\u52a1\u5df2\u7ecf\u662f\u5f3a\u89c4\u5219\u9a71\u52a8&#xff08;\u5982\u8d22\u52a1\u5bf9\u8d26\u3001\u5408\u89c4\u5ba1\u67e5&#xff09;&#xff0c;\u6216\u8005\u5de5\u5177\u63a5\u53e3\u672c\u8eab\u4e0d\u7a33\u5b9a&#xff08;\u7b2c\u4e09\u65b9\u670d\u52a1\u7ecf\u5e38\u53d8\u66f4\u7b7e\u540d\/\u9650\u6d41&#xff09;&#xff0c;\u5f3a\u884c\u4e0a\u81ea\u8fed\u4ee3\u53ea\u4f1a\u589e\u52a0\u7cfb\u7edf\u590d\u6742\u5ea6\u3002\u8fd9\u65f6\u5019&#xff0c;\u56fa\u5b9a\u6d41\u7a0b\u56fe &#043; \u663e\u5f0f\u5f02\u5e38\u5904\u7406\u66f4\u53ef\u9760\u3002<\/p>\n<p>\u53e6\u5916\u6ce8\u610f\u4e24\u70b9\u5de5\u7a0b\u7ec6\u8282&#xff1a;<\/p>\n<li>\u4e0d\u8981\u628a\u6240\u6709\u72b6\u6001\u90fd\u585e\u8fdb Prompt\u3002\u628a\u7ed3\u6784\u5316\u5143\u6570\u636e&#xff08;\u65f6\u95f4\u6233\u3001\u5de5\u5177 ID\u3001\u9519\u8bef\u7801\u3001\u4f9d\u8d56\u5173\u7cfb&#xff09;\u653e\u5728\u72ec\u7acb\u5b57\u6bb5&#xff0c;\u6a21\u578b\u53ea\u8d1f\u8d23\u51b3\u7b56\u903b\u8f91&#xff0c;\u8fd9\u6837\u80fd\u663e\u8457\u964d\u4f4e\u89e3\u6790\u5931\u8d25\u7387\u3002<\/li>\n<li>\u53cd\u601d\u5c42\u5fc5\u987b\u53ef\u964d\u7ea7\u3002\u5982\u679c\u6a21\u578b\u5728\u53cd\u601d\u9636\u6bb5\u4ea7\u51fa\u4e71\u7801\u6216\u683c\u5f0f\u9519\u8bef&#xff0c;\u5916\u5c42\u5faa\u73af\u5e94\u5f53\u6709 fallback \u7b56\u7565&#xff0c;\u6bd4\u5982\u9000\u56de\u4e0a\u4e00\u6210\u529f\u72b6\u6001\u3001\u89e6\u53d1\u544a\u8b66\u901a\u77e5\u4eba\u5de5\u4ecb\u5165&#xff0c;\u800c\u4e0d\u662f\u7ee7\u7eed\u6d88\u8017 token\u3002<\/li>\n<p>\u667a\u80fd\u4f53\u7684\u6f14\u8fdb\u65b9\u5411\u4f1a\u8d8a\u6765\u8d8a\u9760\u8fd1\u201c\u53ef\u89c2\u6d4b\u3001\u53ef\u5e72\u9884\u3001\u53ef\u56de\u6eda\u201d\u3002\u81ea\u4e3b\u8fdb\u5316\u672c\u8d28\u4e0a\u662f\u628a\u4eba\u7c7b\u5de5\u7a0b\u5e08\u7684\u7ecf\u9a8c\u7f16\u7801\u8fdb\u7cfb\u7edf\u7684\u53cd\u9988\u56de\u8def\u91cc&#xff0c;\u8ba9\u673a\u5668\u5b66\u4f1a\u5728\u72af\u9519\u540e\u8c03\u6574\u53c2\u6570&#xff0c;\u800c\u4e0d\u662f\u6bcf\u6b21\u4ece\u96f6\u5f00\u59cb\u3002\u5982\u679c\u4f60\u6b63\u5728\u642d\u5efa\u4e0b\u4e00\u4ee3\u7684 Agent \u67b6\u6784&#xff0c;\u4e0d\u59a8\u4ece\u6700\u5c0f\u7684\u53cd\u5c04\u5faa\u73af\u548c\u5de5\u5177\u526a\u679d\u5f00\u59cb&#xff0c;\u8dd1\u901a\u6570\u636e\u95ed\u73af&#xff0c;\u518d\u9010\u6b65\u53e0\u52a0\u8bb0\u5fc6\u68c0\u7d22\u548c\u7b56\u7565\u5b66\u4e60\u3002\u8fd9\u6761\u8def\u6ca1\u6709\u6377\u5f84&#xff0c;\u4f46\u6bcf\u4e00\u6b65\u7684\u6d4b\u91cf\u6570\u636e\u90fd\u4f1a\u544a\u8bc9\u4f60&#xff0c;\u7cfb\u7edf\u5230\u5e95\u662f\u5728\u8fdb\u5316&#xff0c;\u8fd8\u662f\u5728\u539f\u5730\u6253\u8f6c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e3a\u4ec0\u4e48\u201c\u81ea\u4e3b\u8fdb\u5316\u201d\u662f\u667a\u80fd\u4f53\u7ed5\u4e0d\u5f00\u7684\u4e0b\u4e00\u9636\u6bb5<br \/>\n\u8fc7\u53bb\u534a\u5e74&#xff0c;\u6211\u5e26\u56e2\u961f\u505a\u8fc7\u4e0d\u5c11 Agent \u843d\u5730\u9879\u76ee\u3002\u65e9\u671f\u6211\u4eec\u4e60\u60ef\u628a\u4e1a\u52a1\u903b\u8f91\u5199\u6210\u56fa\u5b9a Prompt&#xff0c;\u914d\u5408\u4e00\u7ec4\u9884\u5b9a\u4e49\u5de5\u5177&#xff0c;\u8dd1\u901a\u540e\u4e0a\u7ebf\u3002\u8868\u9762\u770b\u4e00\u5207\u6b63\u5e38&#xff0c;\u4f46\u4e00\u65e6\u8fdb\u5165\u771f\u5b9e\u6d41\u91cf&#xff0c;\u95ee\u9898\u5c31\u66b4\u9732\u4e86&#xff1a;\u7528\u6237\u63d0\u95ee\u7a0d\u5fae\u8d85\u51fa\u9884\u8bbe\u8303\u56f4&#xff0c;\u6a21\u578b\u8981\u4e48\u5f3a\u884c\u5957\u7528\u65e7\u5de5\u5177&#xff0c;\u8981\u4e48\u76f4\u63a5\u8f93\u51fa\u683c\u5f0f\u9519\u8bef\u7684 JSON&#xff1b;\u9047\u5230\u6b65\u9aa4\u5931\u8d25\u65f6&#xff0c;Agent \u4e0d\u4f1a\u81ea<\/p>\n","protected":false},"author":2,"featured_media":119021,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[81,50,100,43,44],"topic":[],"class_list":["post-119024","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-python","tag-50","tag-100","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u7528 Hermes \u6a21\u578b\u8dd1\u901a\u81ea\u4e3b\u8fdb\u5316 Agent\uff1a\u4ece\u56fa\u5b9a\u6d41\u7a0b\u5230\u52a8\u6001\u8fed\u4ee3\u7684\u5de5\u7a0b\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/119024.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u7528 Hermes \u6a21\u578b\u8dd1\u901a\u81ea\u4e3b\u8fdb\u5316 Agent\uff1a\u4ece\u56fa\u5b9a\u6d41\u7a0b\u5230\u52a8\u6001\u8fed\u4ee3\u7684\u5de5\u7a0b\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4e3a\u4ec0\u4e48\u201c\u81ea\u4e3b\u8fdb\u5316\u201d\u662f\u667a\u80fd\u4f53\u7ed5\u4e0d\u5f00\u7684\u4e0b\u4e00\u9636\u6bb5 \u8fc7\u53bb\u534a\u5e74&#xff0c;\u6211\u5e26\u56e2\u961f\u505a\u8fc7\u4e0d\u5c11 Agent \u843d\u5730\u9879\u76ee\u3002\u65e9\u671f\u6211\u4eec\u4e60\u60ef\u628a\u4e1a\u52a1\u903b\u8f91\u5199\u6210\u56fa\u5b9a Prompt&#xff0c;\u914d\u5408\u4e00\u7ec4\u9884\u5b9a\u4e49\u5de5\u5177&#xff0c;\u8dd1\u901a\u540e\u4e0a\u7ebf\u3002\u8868\u9762\u770b\u4e00\u5207\u6b63\u5e38&#xff0c;\u4f46\u4e00\u65e6\u8fdb\u5165\u771f\u5b9e\u6d41\u91cf&#xff0c;\u95ee\u9898\u5c31\u66b4\u9732\u4e86&#xff1a;\u7528\u6237\u63d0\u95ee\u7a0d\u5fae\u8d85\u51fa\u9884\u8bbe\u8303\u56f4&#xff0c;\u6a21\u578b\u8981\u4e48\u5f3a\u884c\u5957\u7528\u65e7\u5de5\u5177&#xff0c;\u8981\u4e48\u76f4\u63a5\u8f93\u51fa\u683c\u5f0f\u9519\u8bef\u7684 JSON&#xff1b;\u9047\u5230\u6b65\u9aa4\u5931\u8d25\u65f6&#xff0c;Agent \u4e0d\u4f1a\u81ea\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/119024.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-28T10:24:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261028102441-6ae1cd69dddcf.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/119024.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/119024.html\",\"name\":\"\u7528 Hermes \u6a21\u578b\u8dd1\u901a\u81ea\u4e3b\u8fdb\u5316 Agent\uff1a\u4ece\u56fa\u5b9a\u6d41\u7a0b\u5230\u52a8\u6001\u8fed\u4ee3\u7684\u5de5\u7a0b\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-28T10:24:50+00:00\",\"dateModified\":\"2026-10-28T10:24:50+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/119024.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/119024.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/119024.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u7528 Hermes \u6a21\u578b\u8dd1\u901a\u81ea\u4e3b\u8fdb\u5316 Agent\uff1a\u4ece\u56fa\u5b9a\u6d41\u7a0b\u5230\u52a8\u6001\u8fed\u4ee3\u7684\u5de5\u7a0b\u5b9e\u8df5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u7528 Hermes \u6a21\u578b\u8dd1\u901a\u81ea\u4e3b\u8fdb\u5316 Agent\uff1a\u4ece\u56fa\u5b9a\u6d41\u7a0b\u5230\u52a8\u6001\u8fed\u4ee3\u7684\u5de5\u7a0b\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/119024.html","og_locale":"zh_CN","og_type":"article","og_title":"\u7528 Hermes \u6a21\u578b\u8dd1\u901a\u81ea\u4e3b\u8fdb\u5316 Agent\uff1a\u4ece\u56fa\u5b9a\u6d41\u7a0b\u5230\u52a8\u6001\u8fed\u4ee3\u7684\u5de5\u7a0b\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4e3a\u4ec0\u4e48\u201c\u81ea\u4e3b\u8fdb\u5316\u201d\u662f\u667a\u80fd\u4f53\u7ed5\u4e0d\u5f00\u7684\u4e0b\u4e00\u9636\u6bb5 \u8fc7\u53bb\u534a\u5e74&#xff0c;\u6211\u5e26\u56e2\u961f\u505a\u8fc7\u4e0d\u5c11 Agent \u843d\u5730\u9879\u76ee\u3002\u65e9\u671f\u6211\u4eec\u4e60\u60ef\u628a\u4e1a\u52a1\u903b\u8f91\u5199\u6210\u56fa\u5b9a Prompt&#xff0c;\u914d\u5408\u4e00\u7ec4\u9884\u5b9a\u4e49\u5de5\u5177&#xff0c;\u8dd1\u901a\u540e\u4e0a\u7ebf\u3002\u8868\u9762\u770b\u4e00\u5207\u6b63\u5e38&#xff0c;\u4f46\u4e00\u65e6\u8fdb\u5165\u771f\u5b9e\u6d41\u91cf&#xff0c;\u95ee\u9898\u5c31\u66b4\u9732\u4e86&#xff1a;\u7528\u6237\u63d0\u95ee\u7a0d\u5fae\u8d85\u51fa\u9884\u8bbe\u8303\u56f4&#xff0c;\u6a21\u578b\u8981\u4e48\u5f3a\u884c\u5957\u7528\u65e7\u5de5\u5177&#xff0c;\u8981\u4e48\u76f4\u63a5\u8f93\u51fa\u683c\u5f0f\u9519\u8bef\u7684 JSON&#xff1b;\u9047\u5230\u6b65\u9aa4\u5931\u8d25\u65f6&#xff0c;Agent \u4e0d\u4f1a\u81ea","og_url":"https:\/\/www.wsisp.com\/helps\/119024.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-28T10:24:50+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261028102441-6ae1cd69dddcf.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/119024.html","url":"https:\/\/www.wsisp.com\/helps\/119024.html","name":"\u7528 Hermes \u6a21\u578b\u8dd1\u901a\u81ea\u4e3b\u8fdb\u5316 Agent\uff1a\u4ece\u56fa\u5b9a\u6d41\u7a0b\u5230\u52a8\u6001\u8fed\u4ee3\u7684\u5de5\u7a0b\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-28T10:24:50+00:00","dateModified":"2026-10-28T10:24:50+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/119024.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/119024.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/119024.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u7528 Hermes \u6a21\u578b\u8dd1\u901a\u81ea\u4e3b\u8fdb\u5316 Agent\uff1a\u4ece\u56fa\u5b9a\u6d41\u7a0b\u5230\u52a8\u6001\u8fed\u4ee3\u7684\u5de5\u7a0b\u5b9e\u8df5"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/119024","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=119024"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/119024\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/119021"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=119024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=119024"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=119024"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=119024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}