mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-07 02:02:35 +00:00
* Support azure openai responses * Revert function supported condition * Revert comment deletion * Update support stop words * Add cassette based tests * Fix linting
16 lines
375 B
Python
16 lines
375 B
Python
"""Async tests for Azure OpenAI Responses API support."""
|
|
|
|
import pytest
|
|
|
|
|
|
@pytest.mark.vcr()
|
|
@pytest.mark.asyncio
|
|
async def test_acall_delegates_to_responses():
|
|
from crewai.llm import LLM
|
|
|
|
llm = LLM(model="azure/gpt-5.2-chat", api="responses")
|
|
result = await llm.acall("Say hello in one sentence.")
|
|
|
|
assert isinstance(result, str)
|
|
assert len(result) > 0
|