mirror of
https://github.com/openai/codex.git
synced 2026-11-09 16:41:37 +00:00
Preserve assistant phase for replayed messages (#19832)
This commit is contained in:
1 parent
21e19912e0
commit
598bbcdb58
8 files changed
+64
-5
No files matched your search
@@ -1699,6 +1699,7 @@ impl Session {
|
||||
.inject_response_items(vec![ResponseInputItem::Message {
|
||||
role: "developer".to_string(),
|
||||
content: vec![ContentItem::InputText { text }],
|
||||
phase: None,
|
||||
}])
|
||||
.await
|
||||
.is_err()
|
||||
@@ -1795,6 +1796,7 @@ impl Session {
|
||||
.inject_response_items(vec![ResponseInputItem::Message {
|
||||
role: "developer".to_string(),
|
||||
content: vec![ContentItem::InputText { text }],
|
||||
phase: None,
|
||||
}])
|
||||
.await
|
||||
.is_err()
|
||||
|
||||
Reference in new issue
Block a user