<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[完颜振江]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/ethnicitybeta</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; ethnicitybeta]]></copyright><item><title><![CDATA[博客-SMG部署与调用]]></title><link>https://blog.csdn.net/ethnicitybeta/article/details/171470655</link><guid>https://blog.csdn.net/ethnicitybeta/article/details/171470655</guid><author>ethnicitybeta</author><pubDate>Fri, 27 Nov 2026 08:54:43 +0800</pubDate><description><![CDATA[SMG（Shepherd Model Gateway）是放在推理 worker 前面的模型网关。模型请求从它进，工具调用也由它代劳：它自己去连 MCP Server，把工具塞给模型，执行模型点名的那一次调用，再把结果送回模型，直到模型给出最终回答。调用方拿到的是最终回答，加上每一次工具调用的记录。模型进程不直接连 MCP Server，也看不到 Server 的令牌。这篇记录的是 2026-11-26 17:43 在 Windows 上用smg 1.15.0做的一次实跑。]]></description><category></category></item><item><title><![CDATA[从「能调通」到「敢上线」：我用 7 步给 MCP 工具调用装上了刹车]]></title><link>https://blog.csdn.net/ethnicitybeta/article/details/171470592</link><guid>https://blog.csdn.net/ethnicitybeta/article/details/171470592</guid><author>ethnicitybeta</author><pubDate>Fri, 27 Nov 2026 08:50:23 +0800</pubDate><description><![CDATA[前面几课把工具调通了，也加上了白名单和人工审批。出事之后还要能在几分钟里回答：谁发起的，用的哪张凭证，哪个 Agent，调了哪个工具，动的是哪个应用，谁批的，结果是放行、拦住，还是上游失败。这一课把这些答案写成独立的 JSONL 审计。部署仍在10.0.1.47。网关，MCP，内部接口。8000是 vLLM，8080是 Kubernetes hostPort，审计没有占用这两个端口。验证时间：2026-11-26 14:59 到 15:00。和 Langfuse 对齐的 trace 是。]]></description><category></category></item><item><title><![CDATA[高危重启先挂起：运维有权限，也不等于大模型能直接执行（附验证）]]></title><link>https://blog.csdn.net/ethnicitybeta/article/details/171470505</link><guid>https://blog.csdn.net/ethnicitybeta/article/details/171470505</guid><author>ethnicitybeta</author><pubDate>Fri, 27 Nov 2026 08:49:24 +0800</pubDate><description><![CDATA[运维角色看得见，这只说明他被允许提交这个操作。写操作在网关里先挂起，管理员调用审批接口之后，请求才到达 MCP Server。Server 里的重启只给练习计数加一，不碰现网进程，也不碰 vLLM。部署仍在10.0.1.47。网关，MCP，内部接口。8000留给 vLLM，8080留给 Kubernetes 的 hostPort。验证时间：2026-11-26 14:51。审批单。]]></description><category></category></item><item><title><![CDATA[在现有 HTTP MCP 前面加一层白名单：客服看不见监控工具（附验证）]]></title><link>https://blog.csdn.net/ethnicitybeta/article/details/171432462</link><guid>https://blog.csdn.net/ethnicitybeta/article/details/171432462</guid><author>ethnicitybeta</author><pubDate>Thu, 26 Nov 2026 14:37:14 +0800</pubDate><description><![CDATA[网关部署在 （prod102）。这台机器的  是 vLLM，没有改它，也没有重启 New-API 和宿主机 Nginx。课程进程单独放在 ，依赖装在该目录的 ，不进系统包。 只出现在监控工具的参数里，是被查询的那台地址，不是这节课的部署机器。验证时间：2026-11-26 14:34。调用从  打到 。结束后  仍是 200。 里没写的工具，任何角色都看不见，也调不了。未知角色，包括没带头的 ，允许列表是空的。如果改成黑名单，后端突然多一个 ，而网关配置还没加上这条拒绝，这个工具会出现在  里，调用也会被转]]></description><category></category></item><item><title><![CDATA[New-API 管额度，MCP 网关管工具：客服为什么调不了重启（附本机走查）]]></title><link>https://blog.csdn.net/ethnicitybeta/article/details/171431733</link><guid>https://blog.csdn.net/ethnicitybeta/article/details/171431733</guid><author>ethnicitybeta</author><pubDate>Thu, 26 Nov 2026 14:21:17 +0800</pubDate><description><![CDATA[模型额度和工具权限是两层。New-API 决定这把令牌能打哪个模型、扣谁的额度。MCP 网关决定这个调用方能看见、能执行哪几个工具。把两层并进一个「超级 AI 平台」、共用一把系统令牌，客服被提示注入之后就能碰到重启。这篇对照的是已经在跑的两部分：服务器上的 New-API，以及本机mcp/lab里的网关。验证时间：2026-11-26 14:18。不重启 vLLM、New-API 和宿主机 Nginx。]]></description><category></category></item><item><title><![CDATA[给 MCP Agent 接上 Langfuse：思考、调工具、再回答，一次看清（附完整验证）]]></title><link>https://blog.csdn.net/ethnicitybeta/article/details/171431212</link><guid>https://blog.csdn.net/ethnicitybeta/article/details/171431212</guid><author>ethnicitybeta</author><pubDate>Thu, 26 Nov 2026 14:11:10 +0800</pubDate><description><![CDATA[大模型在客户端里思考。MCP Server 只负责把内部接口跑完。Langfuse 把这两段记成同一条 trace。这篇用现网的 New-API、本机已经在跑的 MCP，以及机器上那套 Langfuse，把「查一台服务器的 CPU 和内存」走通。环境：Windows 10，Python 3.14.4，mcp 2.3.0，openai 2.54.0，langfuse 5.2.0。验证时间：2026-11-26 14:06。。发到 CSDN 时，把和的函数体换成从环境变量读取。]]></description><category></category></item><item><title><![CDATA[MCP 对接内部接口：异步请求、错误交回大模型、Schema 里写示例（附完整验证）]]></title><link>https://blog.csdn.net/ethnicitybeta/article/details/171430261</link><guid>https://blog.csdn.net/ethnicitybeta/article/details/171430261</guid><author>ethnicitybeta</author><pubDate>Thu, 26 Nov 2026 13:50:35 +0800</pubDate><description><![CDATA[MCP Server 接的是内部 REST，不是把工单状态写死在工具函数里。这篇把协议转换层和业务接口拆开，用一次本地联调看三件事：工具必须异步调用上游，HTTP 404、500 和超时要变成一段文本交回大模型，参数说明里要写清示例。环境：Windows 10，Python 3.14.4，mcp 2.3.0，fastapi 0.165.0，httpx 0.28.1，uvicorn 0.54.0。验证时间：2026-11-26 13:46。业务数字在，监听。server.py。]]></description><category></category></item><item><title><![CDATA[无状态MCP与契约前置]]></title><link>https://blog.csdn.net/ethnicitybeta/article/details/171420891</link><guid>https://blog.csdn.net/ethnicitybeta/article/details/171420891</guid><author>ethnicitybeta</author><pubDate>Thu, 26 Nov 2026 11:10:37 +0800</pubDate><description><![CDATA[写 MCP Server 时，很多人还习惯先握手、发，再把用户身份存在这条连接上。2026-07-28 规范把传输层会话拿掉了。每次工具调用自己带上user_id。这篇用一个工单查询把两件事跑通：规范为什么改，以及本地 C/S 怎么验证。环境：Windows 10，Python 3.14.4，mcp 2.3.0。验证时间：2026-11-26 11:08。]]></description><category></category></item><item><title><![CDATA[通过AI实现微信小程序完整开发操作步骤]]></title><link>https://blog.csdn.net/ethnicitybeta/article/details/168024906</link><guid>https://blog.csdn.net/ethnicitybeta/article/details/168024906</guid><author>ethnicitybeta</author><pubDate>Thu, 15 Oct 2026 15:58:45 +0800</pubDate><description><![CDATA[本手册记录"把一个，做成一个的微信小程序"的完整步骤。照着做，你可以为自己的同类站点复刻一个小程序。🔒：所有域名、账号、AppID、密钥、IP、内容名称均已替换为占位符或通用示例，可安全分享。文中<YOUR_...>与等均为，请替换为你自己的真实值。]]></description><category></category></item><item><title><![CDATA[以 EasyAI 为例的程序上线步骤]]></title><link>https://blog.csdn.net/ethnicitybeta/article/details/168018256</link><guid>https://blog.csdn.net/ethnicitybeta/article/details/168018256</guid><author>ethnicitybeta</author><pubDate>Thu, 15 Oct 2026 13:33:00 +0800</pubDate><description><![CDATA[本文是后续程序上线的操作模板。例子用 2026-10-15 已经上线的 EasyAI 1.7.3，把 Kubernetes、GitLab、Argo CD 和公网 Ingress 串成一条可以重复的步骤。机器是prod102，内网地址10.0.1.47。公网地址写成x.x.x.x。这些组件已经在跑。新程序按下面的步骤接进去。不要重装 Kubernetes、GitLab、Argo CD 或 Ingress，也不要把 EasyAI 再构建一遍。GitLab 和 Argo CD 的登录口令按现网写在这里。]]></description><category></category></item><item><title><![CDATA[用 Ingress 发布 UJCMS 和 EasyAI]]></title><link>https://blog.csdn.net/ethnicitybeta/article/details/168018002</link><guid>https://blog.csdn.net/ethnicitybeta/article/details/168018002</guid><author>ethnicitybeta</author><pubDate>Thu, 15 Oct 2026 13:26:05 +0800</pubDate><description><![CDATA[本文记录 2026-10-15 在现网上的公网入口：Ingress Nginx 只占用 443，TLS 使用自签证书，后面的按参数把同一地址分给 UJCMS 和 EasyAI。机器是prod102，内网地址10.0.1.47。公网地址在本文写成x.x.x.x。UJCMS 本身的部署写在，EasyAI 写在。现网已经跑着。本文供对照，不要在这台机器上再执行一遍安装，也不要改宿主机 80 端口上的 Nginx。Argo CD、GitLab 和 UJCMS 的登录口令按现网写在这里。]]></description><category></category></item><item><title><![CDATA[部署 EasyAI]]></title><link>https://blog.csdn.net/ethnicitybeta/article/details/168011636</link><guid>https://blog.csdn.net/ethnicitybeta/article/details/168011636</guid><author>ethnicitybeta</author><pubDate>Thu, 15 Oct 2026 11:51:15 +0800</pubDate><description><![CDATA[本文记录 2026-10-15 在现网上的部署：把1.7.3 包成一个本机镜像，源码推进 GitLab 项目，清单推进，由 Argo CD 发到命名空间java。机器是prod102，地址10.0.1.47。公网入口写在《用 Ingress 发布 UJCMS 和 EasyAI.md》。现网已经跑着。本文供对照。镜像在本机 Docker 里，源码编译也在这台机器上做完。不要在这台机器上再执行一遍构建或安装。GitLab 和 Argo CD 的登录口令按现网写在这里。]]></description><category></category></item><item><title><![CDATA[为什么带一次参数之后，同一个地址会一直打开同一个站点]]></title><link>https://blog.csdn.net/ethnicitybeta/article/details/168010635</link><guid>https://blog.csdn.net/ethnicitybeta/article/details/168010635</guid><author>ethnicitybeta</author><pubDate>Thu, 15 Oct 2026 11:33:36 +0800</pubDate><description><![CDATA[公网入口是。地址栏里已经没有app参数，但打开的仍然是 UJCMS。在站内继续点新闻、栏目、图片，也还是这个站点。这不是浏览器把参数偷偷留在地址栏里，而是入口把这次选择写成了 Cookie。后面每一次请求，浏览器都会自动带上这张 Cookie。]]></description><category></category></item><item><title><![CDATA[用AI智能体和工作流把客服、工单、监控和自愈走一遍]]></title><link>https://blog.csdn.net/ethnicitybeta/article/details/167810456</link><guid>https://blog.csdn.net/ethnicitybeta/article/details/167810456</guid><author>ethnicitybeta</author><pubDate>Tue, 13 Oct 2026 17:23:02 +0800</pubDate><description><![CDATA[本文记录 2026-10-13 在现有 Dify 1.17 上跑过的场景。智能体六条：工单分流、监控检查、故障自愈、智能客服，加上原来的合同问答和运维巡检。工作流三条：工单分流、监控检查、客服检索。本章目录是场景。机器是prod102，地址10.0.1.47。合同知识库的安装写在同级目录dify的《用 Dify 做合同知识库：Qwen 对话、bge 重排和 Langfuse 工具追踪.md》。流程对照页是同目录的《走一遍客服、工单、监控和自愈.html》。页面是，登录。对话模型是。]]></description><category></category></item><item><title><![CDATA[用 KEDA 按排队扩容 Worker，并用 GitLab 与 Argo CD 纳管工作负载]]></title><link>https://blog.csdn.net/ethnicitybeta/article/details/167780463</link><guid>https://blog.csdn.net/ethnicitybeta/article/details/167780463</guid><author>ethnicitybeta</author><pubDate>Tue, 13 Oct 2026 09:29:36 +0800</pubDate><description><![CDATA[本文记录这一阶段在现网上的做法：安装 KEDA 2.21.0，让 Dify 的 worker 在 vLLM 排队超过 10 时扩到最多 3 个副本；安装 Argo CD 3.5.4，把llmdify的工作负载收进 GitLab CE 的私有仓库，由 Application 自动同步。本章目录是cicd。机器是prod102，地址10.0.1.47。集群、探针、GPU Operator 和 Vault 写在同级目录k8s-从零部署k8s-迁移k8s-探针与密钥。]]></description><category></category></item><item><title><![CDATA[用 NVIDIA GPU Operator 暴露 H20：vLLM 探针、本地模型和 Vault 密钥]]></title><link>https://blog.csdn.net/ethnicitybeta/article/details/167695875</link><guid>https://blog.csdn.net/ethnicitybeta/article/details/167695875</guid><author>ethnicitybeta</author><pubDate>Mon, 12 Oct 2026 15:19:38 +0800</pubDate><description><![CDATA[本文记录这一阶段在现网上的做法：安装 NVIDIA GPU Operator，让节点报出；给 vLLM 加启动、存活和就绪探针；确认模型权重在宿主机目录里；用 HashiCorp Vault 1.21.2 保存各服务的环境变量，再同步回原来的 Kubernetes Secret。机器是prod102，地址10.0.1.47。]]></description><category></category></item><item><title><![CDATA[Docker Compose 迁到单节点 Kubernetes：vLLM、Dify、Langfuse 逐个怎么搬]]></title><link>https://blog.csdn.net/ethnicitybeta/article/details/167681935</link><guid>https://blog.csdn.net/ethnicitybeta/article/details/167681935</guid><author>ethnicitybeta</author><pubDate>Mon, 12 Oct 2026 11:34:05 +0800</pubDate><description><![CDATA[本文按服务记录这次迁移，用来看清一个正在运行的容器怎样变成 Pod。机器是prod102，地址10.0.1.47，系统 Ubuntu 22.04.5。迁移前，Dify、vLLM、Xinference、New-API、Langfuse、Prometheus、Grafana、DCGM 和导航页都在 Docker 里提供服务。本机上的 Kubernetes 当时不能提供服务：它只是一台 worker，控制面在，那台机器连不上。10.0.1.48没有动。]]></description><category></category></item><item><title><![CDATA[Ubuntu 单机从驱动装到 Kubernetes：H20 上跑 vLLM、Dify 和监控]]></title><link>https://blog.csdn.net/ethnicitybeta/article/details/167681392</link><guid>https://blog.csdn.net/ethnicitybeta/article/details/167681392</guid><author>ethnicitybeta</author><pubDate>Mon, 12 Oct 2026 11:32:25 +0800</pubDate><description><![CDATA[本文按一台刚装好的 Ubuntu 22.04.5 来写。机器就是这台学习机：主机名prod102，地址10.0.1.47，内核，数据盘，显卡 NVIDIA H20 550.120。读者从驱动和 Docker 开始，装好 Kubernetes 1.37.1，再把 vLLM、Xinference、New-API、Dify、Langfuse、Prometheus、Grafana、DCGM 和导航页放进这个单节点。写文档时这台机器已经在跑。下面的脚本会在发现现有集群或现有容器时直接退出。不要在现网上再执行一遍。]]></description><category></category></item><item><title><![CDATA[私有化AI文档系统 监控组件部署]]></title><link>https://blog.csdn.net/ethnicitybeta/article/details/167494090</link><guid>https://blog.csdn.net/ethnicitybeta/article/details/167494090</guid><author>ethnicitybeta</author><pubDate>Sat, 10 Oct 2026 16:57:51 +0800</pubDate><description><![CDATA[10.0.1.47Dify 的安装和工具追踪仍在。New-API 那份文件没有改。脚本已经在现网执行过。01发现已在会退出，避免重新生成.env。02发现prometheus已在会退出。Windows 上传后如果报$'\r'，先执行。不要把本文发到公网。密钥只在服务器，权限 600。]]></description><category></category></item><item><title><![CDATA[Dify + New-API + vLLM 私有化部署：Qwen 对话走网关，bge-m3 和 Rerank 放 GPU]]></title><link>https://blog.csdn.net/ethnicitybeta/article/details/167494036</link><guid>https://blog.csdn.net/ethnicitybeta/article/details/167494036</guid><author>ethnicitybeta</author><pubDate>Sat, 10 Oct 2026 16:54:09 +0800</pubDate><description><![CDATA[10.0.1.47New-API 的安装和令牌案例仍在，那份文件没有改。监控安装在。脚本已经在现网执行过。不要为了对照文档再跑一遍0102，那会碰到容器已存在。07会重建两个代理容器。08发现同名工具和 Agent 已在时只打印编号。09会重启。Windows 上传后如果报$'\r'，先执行。不要把本文发到公网。]]></description><category></category></item></channel></rss>