Skip to content

Commit

Permalink
Patch 3d generation plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
avaer committed Dec 29, 2024
1 parent 0535642 commit bb8bbaa
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ import { FAL_CONSTANTS } from "./constants";
import * as fs from 'fs';
import { Buffer } from 'buffer';
import * as path from 'path';
import * as process from 'process';

const generate3D = async (prompt: string, runtime: IAgentRuntime) => {
process.env['FAL_KEY'] = FAL_CONSTANTS.API_KEY_SETTING || runtime.getSetting("FAL_API_KEY");
fal.config({
credentials: runtime.getSetting("FAL_API_KEY"),
});

try {
elizaLogger.log("Starting 3D generation with prompt:", prompt);
Expand Down

0 comments on commit bb8bbaa

Please sign in to comment.