{"id":10787,"date":"2025-07-20T22:26:36","date_gmt":"2025-07-20T14:26:36","guid":{"rendered":"https:\/\/fanyiming.life\/?page_id=10787"},"modified":"2026-03-20T01:46:48","modified_gmt":"2026-03-19T17:46:48","slug":"agent-fox-chat","status":"publish","type":"page","link":"https:\/\/fanyiming.life\/?page_id=10787","title":{"rendered":"Agent-Fox \u667a\u80fd\u52a9\u624b"},"content":{"rendered":"<div id=\"lafc-chat-container\">\r\n    <div class=\"lafc-header\">\r\n        <h2>Agent Fox \u667a\u80fd\u52a9\u624b<\/h2>\r\n        <p class=\"lafc-description\" style=\"display: none;\">\u57fa\u4e8e LangChain \u7684\u667a\u80fd\u641c\u7d22\u52a9\u624b\uff0c\u4f7f\u7528\u53cd\u601d\u578b\u591a\u8f6e\u5bf9\u8bdd\u6280\u672f<\/p>\r\n    <\/div>\r\n    \r\n    <div id=\"lafc-chat-messages\" class=\"lafc-messages\">\r\n        <div class=\"lafc-message lafc-system-message\">\n            <div class=\"lafc-message-content lafc-welcome\">\n                <p>\u60a8\u597d\uff01\u6211\u662f Agent Fox \u667a\u80fd\u52a9\u624b\uff0c\u6709\u4ec0\u4e48\u53ef\u4ee5\u5e2e\u60a8\u7684\uff1f<\/p>\n                                <div class=\"lafc-quick-prompts\">\n                                        <button type=\"button\" data-prompt=\"\u8fd9\u4e2a\u7ad9\u70b9\u4e3b\u8981\u5199\u4ec0\u4e48\uff1f\">\u7ad9\u70b9\u4ecb\u7ecd<\/button>\n                                        <button type=\"button\" data-prompt=\"\u6700\u8fd1\u6709\u4ec0\u4e48\u65b0\u6587\u7ae0\uff1f\">\u6700\u65b0\u6587\u7ae0<\/button>\n                                        <button type=\"button\" data-prompt=\"\u968f\u673a\u63a8\u8350\u51e0\u7bc7\u6587\u7ae0\">\u968f\u673a\u63a8\u8350<\/button>\n                                    <\/div>\n                            <\/div>\n        <\/div>\n    <\/div>\r\n    \r\n    <div class=\"lafc-input-container\">\r\n        <form id=\"lafc-chat-form\">\r\n            <div class=\"lafc-input-row\">\r\n                <textarea id=\"lafc-query-input\" placeholder=\"\u8bf7\u8f93\u5165\u60a8\u7684\u95ee\u9898\uff0c\u6216\u8f93\u5165 @ \u6765\u5f15\u7528\u6587\u7ae0...\" rows=\"1\" required><\/textarea>\r\n                <button type=\"button\" id=\"lafc-stop-btn\" class=\"lafc-stop-button\" style=\"display: none;\" title=\"\u505c\u6b62\u751f\u6210\">\r\n                    <span class=\"lafc-stop-icon\">\u25a0<\/span>\r\n                <\/button>\r\n                <button type=\"submit\" id=\"lafc-send-btn\" class=\"lafc-send-button\">\r\n                    <span class=\"lafc-send-text\"><\/span>\r\n                    <span class=\"lafc-loading\"><span class=\"lafc-spinner\"><\/span><\/span>\r\n                <\/button>\r\n            <\/div>\r\n        <\/form>\r\n    <\/div>\r\n    \r\n    <div class=\"lafc-status\" id=\"lafc-status\" style=\"display: none;\">\r\n        <div class=\"lafc-status-content\">\r\n            <span class=\"lafc-status-text\"><\/span>\r\n        <\/div>\r\n    <\/div>\r\n<\/div>\r\n\r\n<script type=\"text\/template\" id=\"lafc-message-template\">\r\n    <div class=\"lafc-message lafc-{type}-message\">\r\n        <div class=\"lafc-message-content\">{content}<\/div>\r\n    <\/div>\r\n<\/script>\r\n\n\n\n\n<style>\nh1.entry-title,#floating-toolbar__ai-chat {display:none;}\n#page.site {margin-top:30px;}\n\n@media (min-width: 769px) {\n    body.page-id-10787 #page.site {\n        width: 100% !important;\n        max-width: 1600px !important;\n        grid-template-columns: 1fr !important;\n    }\n\n    body.page-id-10787 #secondary {\n        display: none !important;\n    }\n\n    body.page-id-10787 #primary,\n    body.page-id-10787 article,\n    body.page-id-10787 .entry-content,\n    body.page-id-10787 #lafc-chat-container {\n        width: 100% !important;\n        max-width: 100% !important;\n    }\n}\n\n\/* \u9690\u85cf\u4fa7\u8fb9\u680f\u5728\u624b\u673a\u548ciPad\u7ad6\u5c4f *\/\n@media (max-width: 768px) {\n    #secondary.sidebar-1-empty,footer {\n        display: none !important;\n    }\n\n    #page.site {margin-top:0px;}\n}\n<\/style>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-10787","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/fanyiming.life\/index.php?rest_route=\/wp\/v2\/pages\/10787","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fanyiming.life\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/fanyiming.life\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/fanyiming.life\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fanyiming.life\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10787"}],"version-history":[{"count":10,"href":"https:\/\/fanyiming.life\/index.php?rest_route=\/wp\/v2\/pages\/10787\/revisions"}],"predecessor-version":[{"id":14502,"href":"https:\/\/fanyiming.life\/index.php?rest_route=\/wp\/v2\/pages\/10787\/revisions\/14502"}],"wp:attachment":[{"href":"https:\/\/fanyiming.life\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}