Skip to content

Commit

Permalink
use default llm in text to movie (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xrohitgarg authored Nov 28, 2024
1 parent d70913b commit 0908ce3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/director/agents/text_to_movie.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
RoleTypes,
VideoData,
)
from director.llm.openai import OpenAI, OpenaiConfig
from director.llm import get_default_llm
from director.tools.kling import KlingAITool, PARAMS_CONFIG as KLING_PARAMS_CONFIG
from director.tools.stabilityai import (
StabilityAITool,
Expand Down Expand Up @@ -125,7 +125,7 @@ def __init__(self, session: Session, **kwargs):
"Agent for generating movies from storylines using Gen AI models"
)
self.parameters = TEXT_TO_MOVIE_AGENT_PARAMETERS
self.llm = OpenAI(OpenaiConfig(timeout=120))
self.llm = get_default_llm()

self.engine_configs = {
"kling": EngineConfig(
Expand Down

0 comments on commit 0908ce3

Please sign in to comment.