@7n/tauri-components 0.13.7 → 0.13.8
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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.13.8] - 2026-07-20
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- AgentDialog: дайджест контексту при перемиканні агента тепер явно позначає репліки попереднього агента як чужі — раніше модель могла на ідентифікаційне питання ('що ти за модель') відповісти самоописом попереднього агента, побачивши його 'Я — Codex...' у контексті
|
|
8
|
+
|
|
3
9
|
## [0.13.7] - 2026-07-20
|
|
4
10
|
|
|
5
11
|
### Fixed
|
package/package.json
CHANGED
|
@@ -164,9 +164,19 @@ function handoffContext() {
|
|
|
164
164
|
const lines = relevant.map(turn =>
|
|
165
165
|
turn.role === 'user'
|
|
166
166
|
? `Користувач: ${turn.text}`
|
|
167
|
-
:
|
|
167
|
+
: `Попередній агент (${turn.agentLabel}): ${turn.result?.summary ?? turn.result?.question ?? ''}`
|
|
168
|
+
)
|
|
169
|
+
// Models tend to latch onto identity-shaped text in context (e.g. a prior
|
|
170
|
+
// "Я — Codex…" line) and echo it as their own self-description when asked
|
|
171
|
+
// who they are — so this must say outright that the quoted lines belong to
|
|
172
|
+
// someone else, not describe the model now answering.
|
|
173
|
+
return (
|
|
174
|
+
'СИСТЕМНА ПРИМІТКА: нижче — лог розмови користувача з ІНШИМ агентом, ' +
|
|
175
|
+
'якого щойно замінили на тебе. Це чужі репліки, наведені лише для ' +
|
|
176
|
+
'контексту розмови — вони НЕ описують тебе, і якщо там є самоопис ' +
|
|
177
|
+
'іншого агента, не повторюй і не наслідуй його. На нове повідомлення ' +
|
|
178
|
+
`відповідай як ти сам.\n\n${lines.join('\n')}\n\nНове повідомлення:\n`
|
|
168
179
|
)
|
|
169
|
-
return `Контекст попередньої розмови (продовжуєш замість іншого агента):\n${lines.join('\n')}\n\nНове повідомлення:\n`
|
|
170
180
|
}
|
|
171
181
|
|
|
172
182
|
/**
|