Skip to content

Commit 070fe74

Browse files
update API shape
1 parent 175c860 commit 070fe74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/agents-openai/src/openaiResponsesModel.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ function isMessageItem(item: protocol.ModelItem): item is protocol.MessageItem {
366366
}
367367

368368
function getPrompt(prompt: ModelRequest['prompt']): {
369-
prompt_id: string;
369+
id: string;
370370
version?: string;
371371
variables?: Record<string, any>;
372372
} | null {
@@ -385,7 +385,7 @@ function getPrompt(prompt: ModelRequest['prompt']): {
385385
}
386386

387387
return {
388-
prompt_id: prompt.promptId,
388+
id: prompt.promptId,
389389
version: prompt.version,
390390
variables: transformedVariables,
391391
};

0 commit comments

Comments
 (0)