{"id":16481,"date":"2024-12-26T14:45:43","date_gmt":"2024-12-26T06:45:43","guid":{"rendered":"https:\/\/www.aisharenet.com\/?p=16481"},"modified":"2025-01-19T15:08:24","modified_gmt":"2025-01-19T07:08:24","slug":"petercat","status":"publish","type":"post","link":"https:\/\/www.kdjingpai.com\/ja\/petercat\/","title":{"rendered":"PeterCat\uff1a\u4e3aGitHub\u521b\u5efa\u667a\u80fd\u7b54\u7591\u673a\u5668\u4eba\uff0c\u5b98\u7f51\u96c6\u6210\u4e13\u4e1a\u6280\u672f\u5728\u7ebf\u5ba2\u670d"},"content":{"rendered":"<p>PeterCat \u662f\u4e00\u4e2a\u4e13\u4e3aGitHub\u793e\u533a\u7ef4\u62a4\u8005\u548c\u5f00\u53d1\u8005\u6253\u9020\u7684\u667a\u80fd\u7b54\u7591\u673a\u5668\u4eba\u89e3\u51b3\u65b9\u6848\u3002\u5b83\u63d0\u4f9b\u5bf9\u8bdd\u5f0f\u7b54\u7591 Agent \u914d\u7f6e\u7cfb\u7edf\u3001\u81ea\u6258\u7ba1\u90e8\u7f72\u65b9\u6848\u548c\u4fbf\u6377\u7684\u4e00\u4f53\u5316\u5e94\u7528 SDK\uff0c\u8ba9\u7528\u6237\u80fd\u591f\u4e3a\u81ea\u5df1\u7684 GitHub \u4ed3\u5e93\u4e00\u952e\u521b\u5efa\u667a\u80fd\u7b54\u7591\u673a\u5668\u4eba\uff0c\u5e76\u5feb\u901f\u96c6\u6210\u5230\u5404\u7c7b\u5b98\u7f51\u6216\u9879\u76ee\u4e2d\u3002PeterCat \u7684\u6838\u5fc3\u529f\u80fd\u5305\u62ec\u81ea\u52a8\u77e5\u8bc6\u5165\u5e93\u3001\u591a\u5e73\u53f0\u96c6\u6210\u548c\u9ad8\u6548\u7684\u6280\u672f\u652f\u6301\u751f\u6001\uff0c\u65e8\u5728\u63d0\u5347\u793e\u533a\u7684\u6280\u672f\u652f\u6301\u6548\u7387\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-16482\" title=\"PeterCat\uff1a\u4e3aGitHub\u521b\u5efa\u667a\u80fd\u7b54\u7591\u673a\u5668\u4eba\uff0c\u5b98\u7f51\u96c6\u6210\u4e13\u4e1a\u6280\u672f\u5728\u7ebf\u5ba2\u670d-1\" src=\"https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2024\/12\/fb28ca548a7ba93.png\" alt=\"PeterCat\uff1a\u4e3aGitHub\u521b\u5efa\u667a\u80fd\u7b54\u7591\u673a\u5668\u4eba\uff0c\u5b98\u7f51\u96c6\u6210\u4e13\u4e1a\u6280\u672f\u5728\u7ebf\u5ba2\u670d-1\" width=\"1442\" height=\"868\" srcset=\"https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2024\/12\/fb28ca548a7ba93.png 1442w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2024\/12\/fb28ca548a7ba93-300x181.png 300w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2024\/12\/fb28ca548a7ba93-1024x616.png 1024w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2024\/12\/fb28ca548a7ba93-768x462.png 768w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2024\/12\/fb28ca548a7ba93-18x12.png 18w\" sizes=\"auto, (max-width: 1442px) 100vw, 1442px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-16483\" title=\"PeterCat\uff1a\u4e3aGitHub\u521b\u5efa\u667a\u80fd\u7b54\u7591\u673a\u5668\u4eba\uff0c\u5b98\u7f51\u96c6\u6210\u4e13\u4e1a\u6280\u672f\u5728\u7ebf\u5ba2\u670d-1\" src=\"https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2024\/12\/43688f7f4a34e62.jpg\" alt=\"PeterCat\uff1a\u4e3aGitHub\u521b\u5efa\u667a\u80fd\u7b54\u7591\u673a\u5668\u4eba\uff0c\u5b98\u7f51\u96c6\u6210\u4e13\u4e1a\u6280\u672f\u5728\u7ebf\u5ba2\u670d-1\" width=\"2136\" height=\"1336\" srcset=\"https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2024\/12\/43688f7f4a34e62.jpg 2136w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2024\/12\/43688f7f4a34e62-300x188.jpg 300w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2024\/12\/43688f7f4a34e62-1024x640.jpg 1024w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2024\/12\/43688f7f4a34e62-768x480.jpg 768w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2024\/12\/43688f7f4a34e62-1536x961.jpg 1536w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2024\/12\/43688f7f4a34e62-2048x1281.jpg 2048w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2024\/12\/43688f7f4a34e62-18x12.jpg 18w\" sizes=\"auto, (max-width: 2136px) 100vw, 2136px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>\u529f\u80fd\u5217\u8868<\/h2>\n<ul>\n<li><strong>\u5bf9\u8bdd\u5f0f\u7b54\u7591 Agent \u914d\u7f6e\u7cfb\u7edf<\/strong>\uff1a\u81ea\u52a8\u5b8c\u6210\u673a\u5668\u4eba\u914d\u7f6e\uff0c\u5305\u62ec Prompt\u3001\u540d\u5b57\u3001\u5934\u50cf\u3001\u5f00\u573a\u767d\u7b49\u3002<\/li>\n<li><strong>\u81ea\u6258\u7ba1\u90e8\u7f72\u65b9\u6848<\/strong>\uff1a\u652f\u6301 AWS \u548c\u672c\u5730\u90e8\u7f72\uff0c\u786e\u4fdd\u6570\u636e\u5b89\u5168\u548c\u79c1\u5bc6\u6027\u3002<\/li>\n<li><strong>\u4e00\u4f53\u5316\u5e94\u7528 SDK<\/strong>\uff1a\u4fbf\u6377\u96c6\u6210\u81f3\u5b98\u7f51\u6216\u9879\u76ee\u4e2d\uff0c\u652f\u6301\u591a\u79cd\u96c6\u6210\u65b9\u5f0f\u3002<\/li>\n<li><strong>\u81ea\u52a8\u77e5\u8bc6\u5165\u5e93<\/strong>\uff1a\u5c06 GitHub \u6587\u6863\u548c issue \u81ea\u52a8\u5165\u5e93\uff0c\u4f5c\u4e3a\u673a\u5668\u4eba\u7684\u77e5\u8bc6\u4f9d\u636e\u3002<\/li>\n<li><strong>\u591a\u5e73\u53f0\u96c6\u6210<\/strong>\uff1a\u652f\u6301\u5bf9\u8bdd\u5e94\u7528 SDK \u96c6\u6210\u81f3\u5b98\u7f51\uff0cGitHub APP \u4e00\u952e\u5b89\u88c5\u81f3 GitHub \u4ed3\u5e93\u3002<\/li>\n<li><strong>\u9879\u76ee\u7ba1\u7406\u652f\u6301<\/strong>\uff1a\u652f\u6301\u9879\u76ee\u67e5\u8be2\u3001\u56de\u590d Discussion\u3001PR Summary\u3001Code Review\u3001Issue \u7ba1\u7406\u7b49\u529f\u80fd\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>\u4f7f\u7528\u5e2e\u52a9<\/h2>\n<h3>\u5b89\u88c5\u6d41\u7a0b<\/h3>\n<ol>\n<li><strong>\u81ea\u6258\u7ba1\u90e8\u7f72<\/strong>\uff1a\n<ul>\n<li><strong>\u672c\u5730\u542f\u52a8\u670d\u52a1<\/strong>\uff1a<\/li>\n<\/ul>\n<ol>\n<li>\u514b\u9686 PeterCat \u4ed3\u5e93\u5230\u672c\u5730\u3002<\/li>\n<li>\u914d\u7f6e\u73af\u5883\u53d8\u91cf\uff0c\u786e\u4fdd\u6240\u6709\u5fc5\u9700\u7684\u53d8\u91cf\u90fd\u5df2\u8bbe\u7f6e\u3002<\/li>\n<li>\u8fd0\u884c <code>docker-compose up<\/code> \u542f\u52a8\u670d\u52a1\u3002<\/li>\n<\/ol>\n<ul>\n<li><strong>\u90e8\u7f72\u5230 AWS<\/strong>\uff1a<\/li>\n<\/ul>\n<ol>\n<li>\u914d\u7f6e AWS \u76f8\u5173\u73af\u5883\u53d8\u91cf\u3002<\/li>\n<li>\u4f7f\u7528 AWS CLI \u90e8\u7f72\u670d\u52a1\uff0c\u786e\u4fdd\u6240\u6709\u8d44\u6e90\u6b63\u786e\u914d\u7f6e\u3002<\/li>\n<\/ol>\n<\/li>\n<li><strong>GitHub APP \u5b89\u88c5<\/strong>\uff1a\n<ul>\n<li>\u5728 GitHub \u4ed3\u5e93\u4e2d\u5b89\u88c5 PeterCat APP\uff0c\u6388\u6743\u8bbf\u95ee\u76f8\u5173\u4ed3\u5e93\u3002<\/li>\n<li>\u914d\u7f6e APP \u8bbe\u7f6e\uff0c\u786e\u4fdd\u6b63\u786e\u8fde\u63a5\u5230 PeterCat \u670d\u52a1\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h3>\u4f7f\u7528\u6307\u5357<\/h3>\n<ol>\n<li><strong>\u521b\u5efa\u667a\u80fd\u7b54\u7591\u673a\u5668\u4eba<\/strong>\uff1a\n<ul>\n<li>\u5728 PeterCat \u63a7\u5236\u53f0\u4e2d\u8f93\u5165 GitHub \u4ed3\u5e93\u5730\u5740\u6216\u540d\u79f0\u3002<\/li>\n<li>\u7cfb\u7edf\u5c06\u81ea\u52a8\u751f\u6210\u673a\u5668\u4eba\u7684\u914d\u7f6e\uff0c\u5305\u62ec Prompt\u3001\u540d\u5b57\u3001\u5934\u50cf\u7b49\u3002<\/li>\n<li>\u5b8c\u6210\u914d\u7f6e\u540e\uff0c\u673a\u5668\u4eba\u5c06\u81ea\u52a8\u5f00\u59cb\u5de5\u4f5c\uff0c\u5904\u7406\u76f8\u5173\u7684\u6280\u672f\u652f\u6301\u8bf7\u6c42\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>\u77e5\u8bc6\u5165\u5e93<\/strong>\uff1a\n<ul>\n<li>\u673a\u5668\u4eba\u521b\u5efa\u540e\uff0c\u6240\u6709\u76f8\u5173\u7684 GitHub \u6587\u6863\u548c issue \u5c06\u81ea\u52a8\u5165\u5e93\u3002<\/li>\n<li>\u7528\u6237\u53ef\u4ee5\u5728\u63a7\u5236\u53f0\u4e2d\u67e5\u770b\u548c\u7ba1\u7406\u77e5\u8bc6\u5e93\u5185\u5bb9\uff0c\u786e\u4fdd\u673a\u5668\u4eba\u56de\u590d\u7684\u51c6\u786e\u6027\u548c\u53ca\u65f6\u6027\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>\u591a\u5e73\u53f0\u96c6\u6210<\/strong>\uff1a\n<ul>\n<li>\u4f7f\u7528\u5bf9\u8bdd\u5e94\u7528 SDK \u5c06\u673a\u5668\u4eba\u96c6\u6210\u81f3\u5b98\u7f51\u6216\u9879\u76ee\u4e2d\u3002<\/li>\n<li>\u5728 GitHub \u4ed3\u5e93\u4e2d\u5b89\u88c5 PeterCat APP\uff0c\u5b9e\u73b0\u4e00\u952e\u96c6\u6210\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>\u9879\u76ee\u7ba1\u7406\u652f\u6301<\/strong>\uff1a\n<ul>\n<li>\u901a\u8fc7 PeterCat \u63a7\u5236\u53f0\uff0c\u7528\u6237\u53ef\u4ee5\u67e5\u8be2\u9879\u76ee\u72b6\u6001\u3001\u56de\u590d Discussion\u3001\u67e5\u770b PR Summary \u548c\u8fdb\u884c Code Review\u3002<\/li>\n<li>\u652f\u6301 Issue \u7ba1\u7406\uff0c\u5305\u62ec\u67e5 Issue\u3001\u63d0 Issue \u548c\u56de Issue\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h3>\u8be6\u7ec6\u64cd\u4f5c\u6d41\u7a0b<\/h3>\n<ol>\n<li><strong>\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/strong>\uff1a\n<ul>\n<li>\u5728 <code>.env.local<\/code> \u6587\u4ef6\u4e2d\u8bbe\u7f6e\u5ba2\u6237\u7aef\u73af\u5883\u53d8\u91cf\uff0c\u5982 <code>NEXT_PUBLIC_API_DOMAIN<\/code>\u3002<\/li>\n<li>\u5728 <code>.env<\/code> \u6587\u4ef6\u4e2d\u8bbe\u7f6e\u670d\u52a1\u5668\u73af\u5883\u53d8\u91cf\uff0c\u5982 <code>API_URL<\/code>\u3001<code>WEB_URL<\/code> \u7b49\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>\u542f\u52a8\u670d\u52a1<\/strong>\uff1a\n<ul>\n<li>\u8fd0\u884c <code>docker-compose up<\/code> \u542f\u52a8\u672c\u5730\u670d\u52a1\u3002<\/li>\n<li>\u786e\u4fdd\u6240\u6709\u670d\u52a1\u6b63\u5e38\u8fd0\u884c\uff0c\u8bbf\u95ee <code>http:\/\/localhost:3000<\/code> \u67e5\u770b\u63a7\u5236\u53f0\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>\u7ba1\u7406\u77e5\u8bc6\u5e93<\/strong>\uff1a\n<ul>\n<li>\u5728\u63a7\u5236\u53f0\u4e2d\u67e5\u770b\u5df2\u5165\u5e93\u7684\u6587\u6863\u548c issue\u3002<\/li>\n<li>\u624b\u52a8\u6dfb\u52a0\u6216\u66f4\u65b0\u77e5\u8bc6\u5e93\u5185\u5bb9\uff0c\u786e\u4fdd\u673a\u5668\u4eba\u56de\u590d\u7684\u51c6\u786e\u6027\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>\u96c6\u6210\u81f3\u5b98\u7f51<\/strong>\uff1a\n<ul>\n<li>\u4f7f\u7528\u5bf9\u8bdd\u5e94\u7528 SDK\uff0c\u5c06\u673a\u5668\u4eba\u96c6\u6210\u81f3\u5b98\u7f51\u6216\u9879\u76ee\u4e2d\u3002<\/li>\n<li>\u914d\u7f6e SDK \u8bbe\u7f6e\uff0c\u786e\u4fdd\u6b63\u786e\u8fde\u63a5\u5230 PeterCat \u670d\u52a1\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>PeterCat \u662f\u4e00\u4e2a\u4e13\u4e3aGitHub\u793e\u533a\u7ef4\u62a4\u8005\u548c\u5f00\u53d1\u8005\u6253\u9020\u7684\u667a\u80fd\u7b54\u7591\u673a\u5668\u4eba\u89e3\u51b3\u65b9\u6848\u3002\u5b83\u63d0\u4f9b\u5bf9\u8bdd\u5f0f\u7b54\u7591 Agent \u914d\u7f6e\u7cfb\u7edf\u3001\u81ea\u6258\u7ba1\u90e8\u7f72\u65b9\u6848\u548c\u4fbf\u6377\u7684\u4e00\u4f53\u5316\u5e94\u7528 SDK\uff0c\u8ba9\u7528\u6237\u80fd\u591f\u4e3a\u81ea\u5df1\u7684 GitHub \u4ed3\u5e93\u4e00\u952e\u521b\u5efa\u667a\u80fd\u7b54\u7591\u673a\u5668\u4eba\uff0c\u5e76\u5feb\u901f\u96c6&#8230;<\/p>\n","protected":false},"author":1,"featured_media":61504,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[376],"class_list":["post-16481","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tool","tag-aikefujiqiren"],"_links":{"self":[{"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/posts\/16481","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=16481"}],"version-history":[{"count":0,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/posts\/16481\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/media\/61504"}],"wp:attachment":[{"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/media?parent=16481"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/categories?post=16481"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/tags?post=16481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}