<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[历史截断把用户刚说的限制条件截没了]]></title><description><![CDATA[<p dir="auto">我们聊天助手最近有个问题，用户前面说“只看上海政策”，后面追问“那报销呢”，模型回答成全国政策。看日志发现历史被截断了。</p>
]]></description><link>https://localaihub.com/topic/188/历史截断把用户刚说的限制条件截没了</link><generator>RSS for Node</generator><lastBuildDate>Wed, 03 Jun 2026 20:31:40 GMT</lastBuildDate><atom:link href="https://localaihub.com/topic/188.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 May 2026 17:58:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 历史截断把用户刚说的限制条件截没了 on Thu, 14 May 2026 18:11:00 GMT]]></title><description><![CDATA[<p dir="auto">我们先做状态槽位和最近两轮原文保留。</p>
]]></description><link>https://localaihub.com/post/2051</link><guid isPermaLink="true">https://localaihub.com/post/2051</guid><dc:creator><![CDATA[小陈在改bug]]></dc:creator><pubDate>Thu, 14 May 2026 18:11:00 GMT</pubDate></item><item><title><![CDATA[Reply to 历史截断把用户刚说的限制条件截没了 on Thu, 14 May 2026 15:28:00 GMT]]></title><description><![CDATA[<p dir="auto">另外记录为什么丢弃某些历史。出问题时能复盘。</p>
]]></description><link>https://localaihub.com/post/2050</link><guid isPermaLink="true">https://localaihub.com/post/2050</guid><dc:creator><![CDATA[Grace]]></dc:creator><pubDate>Thu, 14 May 2026 15:28:00 GMT</pubDate></item><item><title><![CDATA[Reply to 历史截断把用户刚说的限制条件截没了 on Thu, 14 May 2026 12:30:00 GMT]]></title><description><![CDATA[<p dir="auto">更准确是上下文重建。每轮请求从状态、近期对话、检索资料重新组装，不是机械截一段。</p>
]]></description><link>https://localaihub.com/post/2049</link><guid isPermaLink="true">https://localaihub.com/post/2049</guid><dc:creator><![CDATA[阿航]]></dc:creator><pubDate>Thu, 14 May 2026 12:30:00 GMT</pubDate></item><item><title><![CDATA[Reply to 历史截断把用户刚说的限制条件截没了 on Thu, 14 May 2026 12:08:00 GMT]]></title><description><![CDATA[<p dir="auto">那历史截断策略要改成重要消息保留？</p>
]]></description><link>https://localaihub.com/post/2048</link><guid isPermaLink="true">https://localaihub.com/post/2048</guid><dc:creator><![CDATA[小陈在改bug]]></dc:creator><pubDate>Thu, 14 May 2026 12:08:00 GMT</pubDate></item><item><title><![CDATA[Reply to 历史截断把用户刚说的限制条件截没了 on Thu, 14 May 2026 09:04:00 GMT]]></title><description><![CDATA[<p dir="auto">都是。靠 prompt 记住所有东西不靠谱，产品状态要显式化。</p>
]]></description><link>https://localaihub.com/post/2047</link><guid isPermaLink="true">https://localaihub.com/post/2047</guid><dc:creator><![CDATA[melo]]></dc:creator><pubDate>Thu, 14 May 2026 09:04:00 GMT</pubDate></item><item><title><![CDATA[Reply to 历史截断把用户刚说的限制条件截没了 on Thu, 14 May 2026 08:30:00 GMT]]></title><description><![CDATA[<p dir="auto">这算 UI 问题还是 prompt 问题？</p>
]]></description><link>https://localaihub.com/post/2046</link><guid isPermaLink="true">https://localaihub.com/post/2046</guid><dc:creator><![CDATA[小蓝]]></dc:creator><pubDate>Thu, 14 May 2026 08:30:00 GMT</pubDate></item><item><title><![CDATA[Reply to 历史截断把用户刚说的限制条件截没了 on Thu, 14 May 2026 07:56:00 GMT]]></title><description><![CDATA[<p dir="auto">高风险场景最好让用户可见当前条件。比如页面上显示“地区：上海”，别全藏在上下文里。</p>
]]></description><link>https://localaihub.com/post/2045</link><guid isPermaLink="true">https://localaihub.com/post/2045</guid><dc:creator><![CDATA[nora]]></dc:creator><pubDate>Thu, 14 May 2026 07:56:00 GMT</pubDate></item><item><title><![CDATA[Reply to 历史截断把用户刚说的限制条件截没了 on Thu, 14 May 2026 05:04:00 GMT]]></title><description><![CDATA[<p dir="auto">还有用户纠错要保留。用户说“不是合同，是订单”，这个比前面大段回答重要。</p>
]]></description><link>https://localaihub.com/post/2044</link><guid isPermaLink="true">https://localaihub.com/post/2044</guid><dc:creator><![CDATA[半截薯条]]></dc:creator><pubDate>Thu, 14 May 2026 05:04:00 GMT</pubDate></item><item><title><![CDATA[Reply to 历史截断把用户刚说的限制条件截没了 on Thu, 14 May 2026 02:50:00 GMT]]></title><description><![CDATA[<p dir="auto">会，所以摘要要结构化一点。比如 region=上海、policy_type=报销、time_range=2026，而不是一句自然语言。</p>
]]></description><link>https://localaihub.com/post/2043</link><guid isPermaLink="true">https://localaihub.com/post/2043</guid><dc:creator><![CDATA[陈一]]></dc:creator><pubDate>Thu, 14 May 2026 02:50:00 GMT</pubDate></item><item><title><![CDATA[Reply to 历史截断把用户刚说的限制条件截没了 on Thu, 14 May 2026 02:26:00 GMT]]></title><description><![CDATA[<p dir="auto">会话摘要会不会也丢信息？</p>
]]></description><link>https://localaihub.com/post/2042</link><guid isPermaLink="true">https://localaihub.com/post/2042</guid><dc:creator><![CDATA[普通网友A]]></dc:creator><pubDate>Thu, 14 May 2026 02:26:00 GMT</pubDate></item><item><title><![CDATA[Reply to 历史截断把用户刚说的限制条件截没了 on Wed, 13 May 2026 23:50:00 GMT]]></title><description><![CDATA[<p dir="auto">所以刚好把“上海政策”丢了。你需要会话摘要或状态槽位。</p>
]]></description><link>https://localaihub.com/post/2041</link><guid isPermaLink="true">https://localaihub.com/post/2041</guid><dc:creator><![CDATA[林小北]]></dc:creator><pubDate>Wed, 13 May 2026 23:50:00 GMT</pubDate></item><item><title><![CDATA[Reply to 历史截断把用户刚说的限制条件截没了 on Wed, 13 May 2026 22:29:00 GMT]]></title><description><![CDATA[<p dir="auto">我们现在就是从头开始丢，直到 token 够。</p>
]]></description><link>https://localaihub.com/post/2040</link><guid isPermaLink="true">https://localaihub.com/post/2040</guid><dc:creator><![CDATA[小陈在改bug]]></dc:creator><pubDate>Wed, 13 May 2026 22:29:00 GMT</pubDate></item><item><title><![CDATA[Reply to 历史截断把用户刚说的限制条件截没了 on Wed, 13 May 2026 21:32:00 GMT]]></title><description><![CDATA[<p dir="auto">历史管理要区分任务状态、用户偏好、临时闲聊、模型废话。不能当一串文本队列。</p>
]]></description><link>https://localaihub.com/post/2039</link><guid isPermaLink="true">https://localaihub.com/post/2039</guid><dc:creator><![CDATA[Grace]]></dc:creator><pubDate>Wed, 13 May 2026 21:32:00 GMT</pubDate></item><item><title><![CDATA[Reply to 历史截断把用户刚说的限制条件截没了 on Wed, 13 May 2026 19:02:00 GMT]]></title><description><![CDATA[<p dir="auto">这个很典型。截断不能只按最早消息删，有些约束比后面的闲聊重要。</p>
]]></description><link>https://localaihub.com/post/2038</link><guid isPermaLink="true">https://localaihub.com/post/2038</guid><dc:creator><![CDATA[阿白]]></dc:creator><pubDate>Wed, 13 May 2026 19:02:00 GMT</pubDate></item></channel></rss>