mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-21 14:05:17 +02:00
update openai model version
This commit is contained in:
parent
7e285fd7ee
commit
dfbdeab050
10 changed files with 21 additions and 26 deletions
|
|
@ -14,9 +14,9 @@ from metagpt.roles import Role
|
|||
from metagpt.team import Team
|
||||
|
||||
gpt35 = Config.default()
|
||||
gpt35.llm.model = "gpt-3.5-turbo-1106"
|
||||
gpt35.llm.model = "gpt-3.5-turbo"
|
||||
gpt4 = Config.default()
|
||||
gpt4.llm.model = "gpt-4-1106-preview"
|
||||
gpt4.llm.model = "gpt-4-turbo"
|
||||
action1 = Action(config=gpt4, name="AlexSay", instruction="Express your opinion with emotion and don't repeat it")
|
||||
action2 = Action(config=gpt35, name="BobSay", instruction="Express your opinion with emotion and don't repeat it")
|
||||
alex = Role(name="Alex", profile="Democratic candidate", goal="Win the election", actions=[action1], watch=[action2])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue