摘要: 1.调模型的Http入参和出参 入参 { "model": "MiniMax-M2.5", "max_tokens": 2048, "system": "你是一个乐于助人的助手。需要外部信息时请调用工具获取,不要凭空编造。", "messages": [ { "role": "user", "con 阅读全文
posted @ 2026-10-08 23:47 轩哥聊码 阅读(6) 评论(0) 推荐(0)
摘要: 1.下载使用 https://www.eclipse.org/mat/ MemoryAnalyzer.ini 把最后一行 -Xmx1024m 改成 -Xmx10g 2.打开文件 Leak Suspects Report 自动扫描整份堆,找出"内存泄漏嫌疑点":哪个对象占了最多内存、它被谁引用、为什么 阅读全文
posted @ 2026-09-30 17:52 轩哥聊码 阅读(20) 评论(0) 推荐(0)
摘要: 2.模型架构 阅读全文
posted @ 2026-09-30 17:18 轩哥聊码 阅读(10) 评论(0) 推荐(0)
摘要: 1.Agent Agent = LLM + Tool + 上下文 Agent状态 源于注意力机制的一个本质特性:上下文学更像检索而非推理—一模型擅长从已 之所以有效 容中查找信息,但不擅长主动归纳和总结。这里里说的是模型在单次前向传播中如何消费已经在上下文里的信息, 否定模型可以通过生成思维链来完成 阅读全文
posted @ 2026-08-12 15:54 轩哥聊码 阅读(7) 评论(0) 推荐(0)
摘要: 1.ReAct 阅读全文
posted @ 2026-06-16 11:29 轩哥聊码 阅读(19) 评论(0) 推荐(0)
摘要: 1.quickstart import asyncio import os from agentscope.agent import Agent from agentscope.event import EventType from agentscope.message import UserMsg 阅读全文
posted @ 2026-05-31 23:30 轩哥聊码 阅读(99) 评论(0) 推荐(0)
摘要: 0.环境 0.1 依赖 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>3.3.6</version> <relativ 阅读全文
posted @ 2026-05-23 03:55 轩哥聊码 阅读(131) 评论(0) 推荐(0)
摘要: 1.抓取其他公众号 name: "wechat-article-downloader" description: "Downloads WeChat official account articles via HTTP API with QR code login. Invoke when user 阅读全文
posted @ 2026-03-24 19:44 轩哥聊码 阅读(1558) 评论(0) 推荐(0)
摘要: 1.环境 1.1 nvm 下载 nvm-setup.exe https://github.com/coreybutler/nvm-windows/releases nvm install 22.22.0 nvm use 22.22.0 1.2 git https://git-scm.com/ 2.o 阅读全文
posted @ 2026-03-03 15:48 轩哥聊码 阅读(92) 评论(0) 推荐(1)
摘要: 1.安装和基础使用 <dependencies> <dependency> <groupId>io.agentscope</groupId> <artifactId>agentscope</artifactId> <version>1.0.6</version> </dependency> <!-- 阅读全文
posted @ 2026-01-11 19:30 轩哥聊码 阅读(176) 评论(0) 推荐(0)