Skip to content

Commit

Permalink
move DEFAULT_MODEL to it's own config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
phact committed Nov 12, 2024
1 parent b75786f commit 18588ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions agency_swarm/agents/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from openai.types.beta.assistant import ToolResources
from astra_assistants import patch, OpenAI

from agency_swarm.agents.config import DEFAULT_MODEL
from agency_swarm.tools import BaseTool, ToolFactory, Retrieval
from agency_swarm.tools import FileSearch, CodeInterpreter
from agency_swarm.tools.oai.FileSearch import FileSearchConfig
Expand All @@ -19,8 +20,6 @@
from pydantic import BaseModel
from openai.lib._parsing._completions import type_to_response_format_param

DEFAULT_MODEL = "gpt-4o-2024-08-06"

class ExampleMessage(TypedDict):
role: Literal["user", "assistant"]
content: str
Expand Down
1 change: 1 addition & 0 deletions agency_swarm/agents/config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DEFAULT_MODEL = "gpt-4o-2024-08-06"

0 comments on commit 18588ae

Please sign in to comment.