{"id":19725,"date":"2025-01-30T11:46:42","date_gmt":"2025-01-30T03:46:42","guid":{"rendered":"https:\/\/www.aisharenet.com\/?p=19725"},"modified":"2025-07-09T04:48:07","modified_gmt":"2025-07-08T20:48:07","slug":"goose","status":"publish","type":"post","link":"https:\/\/www.kdjingpai.com\/ja\/goose\/","title":{"rendered":"Goose\uff1a\u5f00\u6e90\u53ef\u6269\u5c55\u7684\u7f16\u7a0b\u667a\u80fd\u4f53\uff0c\u81ea\u52a8\u5316\u6267\u884c\u7f16\u7a0b\u5168\u6d41\u7a0b\u4efb\u52a1"},"content":{"rendered":"<h2><strong>\u7efc\u5408\u4ecb\u7ecd<\/strong><\/h2>\n<p>Goose\u662f\u7531 Block \u516c\u53f8\u5f00\u53d1\u7684\u4e00\u4e2a\u5f00\u6e90AI\u4ee3\u7406\u5de5\u5177\uff0c\u65e8\u5728\u5e2e\u52a9\u5f00\u53d1\u8005\u81ea\u52a8\u5316\u5904\u7406\u65e5\u5e38\u5f00\u53d1\u4efb\u52a1\u3002\u5b83\u652f\u6301\u591a\u79cd\u5927\u578b\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\uff0c\u901a\u8fc7\u547d\u4ee4\u884c\u6216\u684c\u9762\u5e94\u7528\u63a5\u53e3\u4e0e\u7528\u6237\u4e92\u52a8\u3002Goose\u53ef\u4ee5\u6267\u884c\u4ece\u4ee3\u7801\u7f16\u5199\u3001\u7f16\u8f91\u5230\u6d4b\u8bd5\u548c\u90e8\u7f72\u7684\u5168\u6d41\u7a0b\u4efb\u52a1\uff0c\u663e\u8457\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u3002\u8be5\u5de5\u5177\u5c24\u5176\u5728\u4efb\u52a1\u8ba1\u5212\u548c\u6267\u884c\u65b9\u9762\u8868\u73b0\u7a81\u51fa\uff0c\u80fd\u591f\u7406\u89e3\u590d\u6742\u7684\u5f00\u53d1\u9700\u6c42\u5e76\u81ea\u52a8\u5b8c\u6210\u76f8\u5173\u5de5\u4f5c\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-19727\" title=\"Goose\uff1a\u5f00\u6e90\u53ef\u6269\u5c55\u7f16\u7a0b\u667a\u80fd\u4f53\uff0c\u81ea\u52a8\u5316\u6267\u884c\u7f16\u7a0b\u5168\u6d41\u7a0b\u4efb\u52a1-1\" src=\"https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/01\/1c1fc5b38dbe297.png\" alt=\"Goose\uff1a\u5f00\u6e90\u53ef\u6269\u5c55\u7f16\u7a0b\u667a\u80fd\u4f53\uff0c\u81ea\u52a8\u5316\u6267\u884c\u7f16\u7a0b\u5168\u6d41\u7a0b\u4efb\u52a1-1\" width=\"1176\" height=\"751\" srcset=\"https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/01\/1c1fc5b38dbe297.png 1176w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/01\/1c1fc5b38dbe297-300x192.png 300w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/01\/1c1fc5b38dbe297-1024x654.png 1024w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/01\/1c1fc5b38dbe297-768x490.png 768w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/01\/1c1fc5b38dbe297-18x12.png 18w\" sizes=\"auto, (max-width: 1176px) 100vw, 1176px\" \/><\/p>\n<p>&nbsp;<\/p>\n<div id=\"attachment_19728\" style=\"width: 1304px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-19728\" class=\"wp-image-19728 size-full\" title=\"Goose\uff1a\u5f00\u6e90\u53ef\u6269\u5c55\u7684\u7f16\u7a0b\u667a\u80fd\u4f53\uff0c\u81ea\u52a8\u5316\u6267\u884c\u7f16\u7a0b\u5168\u6d41\u7a0b\u4efb\u52a1-1\" src=\"https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/01\/d61504ccad4ce19.png\" alt=\"Goose\uff1a\u5f00\u6e90\u53ef\u6269\u5c55\u7684\u7f16\u7a0b\u667a\u80fd\u4f53\uff0c\u81ea\u52a8\u5316\u6267\u884c\u7f16\u7a0b\u5168\u6d41\u7a0b\u4efb\u52a1-1\" width=\"1294\" height=\"642\" srcset=\"https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/01\/d61504ccad4ce19.png 1294w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/01\/d61504ccad4ce19-300x149.png 300w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/01\/d61504ccad4ce19-1024x508.png 1024w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/01\/d61504ccad4ce19-768x381.png 768w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/01\/d61504ccad4ce19-18x9.png 18w\" sizes=\"auto, (max-width: 1294px) 100vw, 1294px\" \/><p id=\"caption-attachment-19728\" class=\"wp-caption-text\">\u6269\u5c55\u5de5\u5177\uff1ahttps:\/\/block.github.io\/goose\/v1\/extensions\/<\/p><\/div>\n<p>&nbsp;<\/p>\n<h2><strong>\u529f\u80fd\u5217\u8868<\/strong><\/h2>\n<ul>\n<li><strong>\u4ee3\u7801\u751f\u6210\u548c\u7f16\u8f91<\/strong>\uff1a\u6839\u636e\u7528\u6237\u8f93\u5165\u81ea\u52a8\u7f16\u5199\u6216\u4fee\u6539\u4ee3\u7801\u3002<\/li>\n<li><strong>\u4efb\u52a1\u7ba1\u7406\u548c\u6267\u884c<\/strong>\uff1a\u521b\u5efa\u4efb\u52a1\u8ba1\u5212\u5e76\u81ea\u52a8\u5b8c\u6210\uff0c\u5305\u62ec\u66f4\u65b0\u4f9d\u8d56\u3001\u8fd0\u884c\u6d4b\u8bd5\u7b49\u3002<\/li>\n<li><strong>\u96c6\u6210\u5f00\u53d1\u73af\u5883\u652f\u6301<\/strong>\uff1a\u4e0eJetBrains IDE\u7b49\u5f00\u53d1\u5de5\u5177\u96c6\u6210\uff0c\u63d0\u4f9b\u66f4\u6d41\u7545\u7684\u5f00\u53d1\u4f53\u9a8c\u3002<\/li>\n<li><strong>\u547d\u4ee4\u884c\u548c\u684c\u9762\u5e94\u7528<\/strong>\uff1a\u652f\u6301CLI\u548c\u684c\u9762\u7528\u6237\u754c\u9762\uff0c\u9002\u5e94\u4e0d\u540c\u7528\u6237\u4e60\u60ef\u3002<\/li>\n<li><strong>\u6269\u5c55\u652f\u6301<\/strong>\uff1a\u901a\u8fc7\u63d2\u4ef6\u7cfb\u7edf\u652f\u6301\u4e0eGitHub\u3001Google Drive\u7b49\u5916\u90e8\u670d\u52a1\u7684\u96c6\u6210\u3002<\/li>\n<li><strong>\u6587\u4ef6\u64cd\u4f5c<\/strong>\uff1a\u81ea\u52a8\u5904\u7406\u6587\u4ef6\u8bfb\u5199\u3001\u5907\u4efd\u548c\u7248\u672c\u63a7\u5236\u3002<\/li>\n<li><strong>\u6027\u80fd\u4f18\u5316<\/strong>\uff1a\u81ea\u52a8\u8fdb\u884c\u4ee3\u7801\u4f18\u5316\u548c\u6027\u80fd\u5206\u6790\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2><strong>\u4f7f\u7528\u5e2e\u52a9<\/strong><\/h2>\n<h3><strong>\u5b89\u88c5Goose<\/strong><\/h3>\n<h4><strong>\u684c\u9762\u5e94\u7528\u5b89\u88c5\uff1a<\/strong><\/h4>\n<p>1.<strong>\u4e0b\u8f7d\u5b89\u88c5\u5305<\/strong>\uff1a<\/p>\n<ul>\n<li>\u8bbf\u95eeGoose\u5b98\u65b9GitHub\u9875\u9762\u3002<\/li>\n<li>\u70b9\u51fb\u201cReleases\u201d\u627e\u5230\u6700\u65b0\u7684\u7248\u672c\u4e0b\u8f7d\u3002<\/li>\n<\/ul>\n<p>2.<strong>\u89e3\u538b\u6587\u4ef6<\/strong>\uff1a<\/p>\n<ul>\n<li>\u5c06\u4e0b\u8f7d\u7684<code>.zip<\/code>\u6587\u4ef6\u89e3\u538b\u5230\u672c\u5730\u6587\u4ef6\u5939\u3002<\/li>\n<\/ul>\n<p>3.<strong>\u8fd0\u884c\u5e94\u7528\u7a0b\u5e8f<\/strong>\uff1a<\/p>\n<ul>\n<li>\u53cc\u51fb\u89e3\u538b\u540e\u7684\u53ef\u6267\u884c\u6587\u4ef6\u542f\u52a8Goose\u3002<\/li>\n<\/ul>\n<h4><strong>CLI\u5b89\u88c5\uff1a<\/strong><\/h4>\n<p>1.<strong>\u901a\u8fc7curl\u5b89\u88c5<\/strong>\uff1a<\/p>\n<pre><code>curl -fsSL https:\/\/github.com\/block\/goose\/releases\/download\/stable\/download_cli.sh | sh\r\n<\/code><\/pre>\n<p>\u6b64\u547d\u4ee4\u4f1a\u81ea\u52a8\u4e0b\u8f7d\u5e76\u5b89\u88c5Goose\u5230\u60a8\u7684\u7cfb\u7edf\u4e2d\u3002<\/p>\n<p><strong>\u4f7f\u7528Goose<\/strong><\/p>\n<p><strong>\u542f\u52a8Goose\uff1a<\/strong><\/p>\n<ul>\n<li><strong>CLI<\/strong>\uff1a\u6253\u5f00\u7ec8\u7aef\uff0c\u8f93\u5165<strong>goose<\/strong>\u5373\u53ef\u8fdb\u5165\u4ea4\u4e92\u754c\u9762\u3002<\/li>\n<li><strong>\u684c\u9762\u5e94\u7528<\/strong>\uff1a\u542f\u52a8\u5e94\u7528\u7a0b\u5e8f\u540e\uff0c\u4f60\u4f1a\u770b\u5230\u4e00\u4e2a\u7b80\u5355\u6613\u7528\u7684\u754c\u9762\u3002<\/li>\n<\/ul>\n<p><strong>\u57fa\u672c\u64cd\u4f5c\uff1a<\/strong><\/p>\n<ul>\n<li><strong>\u914d\u7f6eLLM\u63d0\u4f9b\u8005<\/strong>\uff1a\n<ul>\n<li>\u9996\u6b21\u4f7f\u7528\u65f6\uff0cGoose\u4f1a\u5f15\u5bfc\u4f60\u9009\u62e9\u548c\u914d\u7f6eLLM\u63d0\u4f9b\u8005\uff08\u5982OpenAI\u3001Google Gemini\u7b49\uff09\uff0c\u9700\u8981\u8f93\u5165\u76f8\u5e94\u7684API\u5bc6\u94a5\u3002\n<ul>\n<li>\u8fd0\u884cgoose configure\u6216\u901a\u8fc7\u684c\u9762\u5e94\u7528\u7684\u8bbe\u7f6e\u83dc\u5355\u8fdb\u884c\u914d\u7f6e\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li><strong>\u4e0b\u8fbe\u4efb\u52a1\u6307\u4ee4<\/strong>\uff1a\n<ul>\n<li>\u5728CLI\u4e2d\uff0c\u76f4\u63a5\u8f93\u5165\u4f60\u7684\u5f00\u53d1\u4efb\u52a1\u6216\u95ee\u9898\u3002\u4f8b\u5982\n<pre><code>G&gt; \u5728\u8fd9\u4e2a\u9879\u76ee\u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5206\u652f\u5e76\u63d0\u4ea4\u4e00\u4e2a\u6587\u4ef6\u4fee\u6539\r\n<\/code><\/pre>\n<\/li>\n<li>\u5728\u684c\u9762\u5e94\u7528\u4e2d\uff0c\u8f93\u5165\u6846\u4e2d\u8f93\u5165\u4efb\u52a1\uff0c\u6309\u4e0b\u56de\u8f66\u952eGoose\u5c06\u5f00\u59cb\u6267\u884c\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>\u76d1\u63a7\u548c\u4e2d\u65ad\u4efb\u52a1<\/strong>\uff1a\n<ul>\n<li>\u5bf9\u4e8e\u957f\u65f6\u95f4\u4efb\u52a1\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528CTRL+C\u6216CTRL+D\u6765\u4e2d\u65ad\u6216\u9000\u51fa\u5f53\u524d\u64cd\u4f5c\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><strong>\u529f\u80fd\u8be6\u7ec6\u64cd\u4f5c\uff1a<\/strong><\/p>\n<ul>\n<li><strong>\u4ee3\u7801\u7f16\u8f91<\/strong>\uff1aGoose\u53ef\u4ee5\u6839\u636e\u4f60\u7684\u9700\u6c42\u4fee\u6539\u73b0\u6709\u4ee3\u7801\u3002\u4f8b\u5982\uff0c\u4f60\u53ef\u4ee5\u8981\u6c42Goose\u5c06\u4e00\u4e2a\u51fd\u6570\u4ecePython 2\u8fc1\u79fb\u5230Python 3\u3002\n<ul>\n<li><strong>\u8f93\u5165<\/strong>G&gt; \u5c06\u8fd9\u4e2aPython\u6587\u4ef6\u8fc1\u79fb\u5230Python 3<strong>\u540e\uff0cGoose\u4f1a\u6d4f\u89c8\u6587\u4ef6\u5e76\u6267\u884c\u5fc5\u8981\u7684\u4fee\u6539\u3002<\/strong><\/li>\n<\/ul>\n<\/li>\n<li><strong>\u4efb\u52a1\u81ea\u52a8\u5316<\/strong>\uff1a\u5047\u8bbe\u4f60\u9700\u8981\u66f4\u65b0\u4e00\u4e2a\u4f9d\u8d56\u5e93\u5e76\u8fd0\u884c\u6d4b\u8bd5\uff1a\n<ul>\n<li><strong>\u8f93\u5165<\/strong>G&gt; \u66f4\u65b0pytest\u5e93\u5e76\u8fd0\u884c\u6240\u6709\u6d4b\u8bd5\uff0cGoose\u4f1a\u67e5\u627e\u5e76\u66f4\u65b0\u6307\u5b9a\u7684\u5e93\uff0c\u7136\u540e\u6267\u884c\u6d4b\u8bd5\u547d\u4ee4\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>\u6269\u5c55\u548c\u96c6\u6210<\/strong>\uff1a\n<ul>\n<li>\u8981\u542f\u7528Goose\u4e0eGitHub\u7684\u96c6\u6210\uff0c\u914d\u7f6e\u5b8c\u6210\u540e\uff0c\u4f60\u53ef\u4ee5\u76f4\u63a5\u5728Goose\u4e2d\u7ba1\u7406Pull Request\u6216Issue\uff0c\u4f8b\u5982\n<pre><code>G&gt; \u67e5\u770b\u5e76\u5408\u5e76PR #42\r\n<\/code><\/pre>\n<\/li>\n<li>\u5bf9\u4e8eGoogle Drive\uff0c\u4f60\u53ef\u4ee5\u8bbe\u7f6eGoose\u6765\u5904\u7406\u6587\u6863\n<pre><code>G&gt; \u4eceGoogle Drive\u4e0b\u8f7d\u6700\u65b0\u7248\u672c\u7684\u6587\u6863\u5e76\u66f4\u65b0\u5230\u672c\u5730\r\n<\/code><\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<li><strong>\u7248\u672c\u63a7\u5236<\/strong>\uff1aGoose\u81ea\u52a8\u5904\u7406Git\u64cd\u4f5c\uff0c\u4f46\u4f60\u4e5f\u53ef\u4ee5\u660e\u786e\u6307\u4ee4\u6765\u7ba1\u7406\u5206\u652f\u3001\u63d0\u4ea4\u7b49\n<pre><code>G&gt; \u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5206\u652f\u540d\u4e3afeature\/newLogin\r\n<\/code><\/pre>\n<\/li>\n<\/ul>\n<p><strong>\u6ce8\u610f\u4e8b\u9879\uff1a<\/strong><\/p>\n<ul>\n<li>\u786e\u4fdd\u4f60\u7684LLM\u63d0\u4f9b\u8005\u8d26\u6237\u6709\u8db3\u591f\u7684API\u8c03\u7528\u989d\u5ea6\uff0c\u907f\u514d\u5728\u5173\u952e\u4efb\u52a1\u4e2d\u4e2d\u65ad\u3002<\/li>\n<li>\u5b9a\u671f\u66f4\u65b0Goose\u4ee5\u83b7\u53d6\u6700\u65b0\u529f\u80fd\u548c\u5b89\u5168\u8865\u4e01\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u7efc\u5408\u4ecb\u7ecd Goose\u662f\u7531 Block \u516c\u53f8\u5f00\u53d1\u7684\u4e00\u4e2a\u5f00\u6e90AI\u4ee3\u7406\u5de5\u5177\uff0c\u65e8\u5728\u5e2e\u52a9\u5f00\u53d1\u8005\u81ea\u52a8\u5316\u5904\u7406\u65e5\u5e38\u5f00\u53d1\u4efb\u52a1\u3002\u5b83\u652f\u6301\u591a\u79cd\u5927\u578b\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\uff0c\u901a\u8fc7\u547d\u4ee4\u884c\u6216\u684c\u9762\u5e94\u7528\u63a5\u53e3\u4e0e\u7528\u6237\u4e92\u52a8\u3002Goose\u53ef\u4ee5\u6267\u884c\u4ece\u4ee3\u7801\u7f16\u5199\u3001\u7f16\u8f91\u5230\u6d4b\u8bd5\u548c\u90e8\u7f72\u7684\u5168\u6d41\u7a0b\u4efb\u52a1\uff0c\u663e&#8230;<\/p>\n","protected":false},"author":1,"featured_media":61749,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[417,20,493],"tags":[230,221,201],"class_list":["post-19725","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-productivity","category-tool","category-ai-programming","tag-aikaiyuanxiangmu","tag-aibiancheng","tag-aizhinengti"],"_links":{"self":[{"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/posts\/19725","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/comments?post=19725"}],"version-history":[{"count":0,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/posts\/19725\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/media\/61749"}],"wp:attachment":[{"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/media?parent=19725"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/categories?post=19725"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/tags?post=19725"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}