mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-02 20:43:36 +00:00
merge in v0.9.0
This commit is contained in:
@@ -72,7 +72,7 @@ const CODEX_EVENT_TYPES = {
|
||||
itemCompleted: 'item.completed',
|
||||
itemStarted: 'item.started',
|
||||
itemUpdated: 'item.updated',
|
||||
threadCompleted: 'thread.completed',
|
||||
turnCompleted: 'turn.completed',
|
||||
error: 'error',
|
||||
} as const;
|
||||
|
||||
@@ -817,7 +817,7 @@ export class CodexProvider extends BaseProvider {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (eventType === CODEX_EVENT_TYPES.threadCompleted) {
|
||||
if (eventType === CODEX_EVENT_TYPES.turnCompleted) {
|
||||
const resultText = extractText(event.result) || undefined;
|
||||
yield { type: 'result', subtype: 'success', result: resultText };
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user