MCPcopy Create free account
hub / github.com/ScrapeGraphAI/Scrapegraph-ai / azure_config

Function azure_config

tests/conftest.py:123–135  ·  view source on GitHub ↗

Azure OpenAI configuration for testing.

()

Source from the content-addressed store, hash-verified

121
122@pytest.fixture
123def azure_config() -> Dict[str, Any]:
124 """Azure OpenAI configuration for testing."""
125 return {
126 "llm": {
127 "api_key": os.getenv("AZURE_OPENAI_KEY", "test-key"),
128 "model": "azure_openai/gpt-35-turbo",
129 "api_base": os.getenv("AZURE_OPENAI_ENDPOINT", "https://test.openai.azure.com/"),
130 "api_version": "2024-02-15-preview",
131 "temperature": 0,
132 },
133 "verbose": False,
134 "headless": True,
135 }
136
137
138@pytest.fixture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected