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

Function openai_config

tests/conftest.py:49–60  ·  view source on GitHub ↗

OpenAI configuration for testing.

()

Source from the content-addressed store, hash-verified

47
48@pytest.fixture
49def openai_config() -> Dict[str, Any]:
50 """OpenAI configuration for testing."""
51 api_key = os.getenv("OPENAI_APIKEY", "test-key")
52 return {
53 "llm": {
54 "api_key": api_key,
55 "model": "gpt-3.5-turbo",
56 "temperature": 0,
57 },
58 "verbose": False,
59 "headless": True,
60 }
61
62
63@pytest.fixture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected