@@ -33,17 +33,17 @@ async def test_github_models_configuration(monkeypatch):
3333 monkeypatch .setenv ("OPENAI_EMBED_HOST" , "github" )
3434 monkeypatch .setenv ("GITHUB_TOKEN" , "fake-token" )
3535 # Don't set GITHUB_MODEL to test defaults
36-
36+
3737 # Test chat client configuration
3838 chat_client = await create_openai_chat_client (None )
3939 assert str (chat_client .base_url ).rstrip ("/" ) == "https://models.github.ai/inference"
4040 assert chat_client .api_key == "fake-token"
41-
42- # Test embed client configuration
41+
42+ # Test embed client configuration
4343 embed_client = await create_openai_embed_client (None )
4444 assert str (embed_client .base_url ).rstrip ("/" ) == "https://models.github.ai/inference"
4545 assert embed_client .api_key == "fake-token"
46-
46+
4747 # Test that dependencies use correct defaults
4848 context = await common_parameters ()
4949 assert context .openai_chat_model == "openai/gpt-4o"
@@ -59,7 +59,7 @@ async def test_github_models_with_custom_values(monkeypatch):
5959 monkeypatch .setenv ("GITHUB_TOKEN" , "fake-token" )
6060 monkeypatch .setenv ("GITHUB_MODEL" , "openai/gpt-4" )
6161 monkeypatch .setenv ("GITHUB_EMBED_MODEL" , "openai/text-embedding-ada-002" )
62-
62+
6363 # Test that dependencies use custom values
6464 context = await common_parameters ()
6565 assert context .openai_chat_model == "openai/gpt-4"
0 commit comments