mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-27 01:36:29 +02:00
refactor config
This commit is contained in:
parent
f3cb2cfbed
commit
62ca2ca90d
4 changed files with 10 additions and 10 deletions
|
|
@ -23,9 +23,9 @@ class TestSkillAction:
|
|||
"type": "string",
|
||||
"description": "OpenAI API key, For more details, checkout: `https://platform.openai.com/account/api-keys`",
|
||||
},
|
||||
"METAGPT_TEXT_TO_IMAGE_MODEL_URL": {"type": "string", "description": "Model url."},
|
||||
"metagpt_tti_url": {"type": "string", "description": "Model url."},
|
||||
},
|
||||
"required": {"oneOf": ["OPENAI_API_KEY", "METAGPT_TEXT_TO_IMAGE_MODEL_URL"]},
|
||||
"required": {"oneOf": ["OPENAI_API_KEY", "metagpt_tti_url"]},
|
||||
},
|
||||
parameters={
|
||||
"text": Parameter(type="string", description="The text used for image conversion."),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue