Skip to content

Commit

Permalink
Changed model to gpt-4o in tools
Browse files Browse the repository at this point in the history
  • Loading branch information
VRSEN committed May 27, 2024
1 parent 08eda93 commit 8b645b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def run(self):
while n < 3:
resp = client.chat.completions.create(
messages=messages,
model="gpt-4-turbo",
model="gpt-4o",
temperature=0,
)

Expand Down
4 changes: 2 additions & 2 deletions agency_swarm/agents/Devid/tools/FileWriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def run(self):
while n < 3:
resp = client.chat.completions.create(
messages=messages,
model="gpt-4-turbo",
model="gpt-4o",
temperature=0,
)

Expand Down Expand Up @@ -190,7 +190,7 @@ def validate_content(self, v):
llm_validator(
statement="Check if the code is bug-free. Code should be considered in isolation, with the understanding that it is part of a larger, fully developed program that strictly adheres to these standards of completeness and correctness. All files, elements, components, functions, or modules referenced within this snippet are assumed to exist in other parts of the project and are also devoid of any errors, ensuring a cohesive and error-free integration across the entire software solution. Certain placeholders may be present.",
client=client,
model="gpt-4-turbo",
model="gpt-4o",
temperature=0,
allow_override=False
)(v)
Expand Down

0 comments on commit 8b645b6

Please sign in to comment.