mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-13 04:40:35 +00:00
refactor(agent): dedupe harness and command workflows
This commit is contained in:
25
src/auto-reply/media-understanding.test-fixtures.ts
Normal file
25
src/auto-reply/media-understanding.test-fixtures.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
export function createSuccessfulImageMediaDecision() {
|
||||
return {
|
||||
capability: "image",
|
||||
outcome: "success",
|
||||
attachments: [
|
||||
{
|
||||
attachmentIndex: 0,
|
||||
attempts: [
|
||||
{
|
||||
type: "provider",
|
||||
outcome: "success",
|
||||
provider: "openai",
|
||||
model: "gpt-5.2",
|
||||
},
|
||||
],
|
||||
chosen: {
|
||||
type: "provider",
|
||||
outcome: "success",
|
||||
provider: "openai",
|
||||
model: "gpt-5.2",
|
||||
},
|
||||
},
|
||||
],
|
||||
} as const;
|
||||
}
|
||||
Reference in New Issue
Block a user