Skip to content

Commit

Permalink
pull imageSettings from character
Browse files Browse the repository at this point in the history
  • Loading branch information
proteanx committed Dec 22, 2024
1 parent edb7c82 commit 9d862dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/plugin-image-generation/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ const imageGeneration: Action = {
const imagePrompt = message.content.text;
elizaLogger.log("Image prompt received:", imagePrompt);

const imageSettings = runtime.character?.settings?.imageSettings || {};
elizaLogger.log("Image settings:", imageSettings);

// TODO: Generate a prompt for the image

const res: { image: string; caption: string }[] = [];
Expand Down

0 comments on commit 9d862dd

Please sign in to comment.