dominds 1.8.1 → 1.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1165,7 +1165,7 @@ async function driveDialogStreamCore(dlg, humanPrompt, driveOptions, callbacks)
1165
1165
  const batchResult = await llmGen.genMoreMessages(providerCfg, agent, systemPrompt, funcTools, {
1166
1166
  dialogSelfId: dlg.id.selfId,
1167
1167
  dialogRootId: dlg.id.rootId,
1168
- promptCacheKey: dlg.id.selfId,
1168
+ promptCacheKey: `${dlg.id.selfId}:c${String(dlg.currentCourse)}`,
1169
1169
  }, ctxMsgs, dlg.activeGenSeq, abortSignal);
1170
1170
  if (!hasMeaningfulBatchOutput(batchResult.messages)) {
1171
1171
  throw {
@@ -1335,7 +1335,7 @@ async function driveDialogStreamCore(dlg, humanPrompt, driveOptions, callbacks)
1335
1335
  const streamResult = await llmGen.genToReceiver(providerCfg, agent, systemPrompt, funcTools, {
1336
1336
  dialogSelfId: dlg.id.selfId,
1337
1337
  dialogRootId: dlg.id.rootId,
1338
- promptCacheKey: dlg.id.selfId,
1338
+ promptCacheKey: `${dlg.id.selfId}:c${String(dlg.currentCourse)}`,
1339
1339
  }, ctxMsgs, receiver, dlg.activeGenSeq, abortSignal);
1340
1340
  const hasThinkingContent = currentThinkingContent.trim() !== '';
1341
1341
  const hasSayingContent = (streamAttemptSayingContent ?? '').trim() !== '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dominds",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
4
4
  "description": "DevOps Mindsets — Sustainable Agentic Product Lifecycle",
5
5
  "type": "commonjs",
6
6
  "private": false,