You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ceo = Agent(
name="CEO",
description="Responsible for client communication, task planning and management.",
instructions="You must converse with other agents to ensure complete task execution.", # can be a file like ./instructions.md
files_folder="./files", # files to be uploaded to OpenAI
schemas_folder="./schemas", # OpenAPI schemas to be converted into tools
temperature=0.5, # temperature for the agent
max_prompt_tokens=25000, # max tokens in conversation history
model=settings.OPENAI_MODEL_GPT_4o
)
This is issue due to azure open ai can someone try to solve it
Here's my code:
client = AzureOpenAI(
api_key=settings.OPENAI_KEY,
api_version=settings.OPENAI_VERSION,
azure_endpoint=settings.OPENAI_ENDPOINT,
timeout=5,
max_retries=5,
)
set_openai_client(client)
ceo = Agent(
name="CEO",
description="Responsible for client communication, task planning and management.",
instructions="You must converse with other agents to ensure complete task execution.", # can be a file like ./instructions.md
files_folder="./files", # files to be uploaded to OpenAI
schemas_folder="./schemas", # OpenAPI schemas to be converted into tools
temperature=0.5, # temperature for the agent
max_prompt_tokens=25000, # max tokens in conversation history
model=settings.OPENAI_MODEL_GPT_4o
)
dev = Dev(id=model=settings.OPENAI_MODEL_GPT_4o)
agency = Agency(
[ceo,
[ceo, dev]
]
)
agency.run_demo()
Error code: 400 - {'error': {'message': "Unknown parameter: 'tools[0].function.strict'.", 'type': 'invalid_request_error', 'param': 'tools[0].function.strict', 'code': 'unknown_parameter'}}
The text was updated successfully, but these errors were encountered: