File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ async def test_list_models(gptscript):
116116
117117
118118@pytest .mark .asyncio
119+ @pytest .mark .skipif (os .environ .get ("ANTHROPIC_API_KEY" ) is None , reason = "ANTHROPIC_API_KEY not set" )
119120async def test_list_models_from_provider (gptscript ):
120121 models = await gptscript .list_models (
121122 providers = ["github.com/gptscript-ai/claude3-anthropic-provider" ],
@@ -128,6 +129,7 @@ async def test_list_models_from_provider(gptscript):
128129
129130
130131@pytest .mark .asyncio
132+ @pytest .mark .skipif (os .environ .get ("ANTHROPIC_API_KEY" ) is None , reason = "ANTHROPIC_API_KEY not set" )
131133async def test_list_models_from_default_provider ():
132134 g = GPTScript (GlobalOptions (defaultModelProvider = "github.com/gptscript-ai/claude3-anthropic-provider" ))
133135 try :
You can’t perform that action at this time.
0 commit comments