mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 12:07:34 +00:00
revert openai_compat changes and use OpenAIMixin for openai_chat_completion
This commit is contained in:
parent
0f5bef893a
commit
a6baa7b3d4
9 changed files with 23 additions and 303 deletions
|
@ -13,6 +13,13 @@ import pytest
|
|||
from ..test_cases.test_case import TestCase
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def rate_limit_delay():
|
||||
"""Add delay between tests to avoid rate limiting from providers like Fireworks"""
|
||||
yield
|
||||
time.sleep(30) # 30 second delay after each test
|
||||
|
||||
|
||||
def _normalize_text(text: str) -> str:
|
||||
"""
|
||||
Normalize Unicode text by removing diacritical marks for comparison.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue