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):
116
116
117
117
118
118
@pytest .mark .asyncio
119
+ @pytest .mark .skipif (os .environ .get ("ANTHROPIC_API_KEY" ) is None , reason = "ANTHROPIC_API_KEY not set" )
119
120
async def test_list_models_from_provider (gptscript ):
120
121
models = await gptscript .list_models (
121
122
providers = ["github.com/gptscript-ai/claude3-anthropic-provider" ],
@@ -128,6 +129,7 @@ async def test_list_models_from_provider(gptscript):
128
129
129
130
130
131
@pytest .mark .asyncio
132
+ @pytest .mark .skipif (os .environ .get ("ANTHROPIC_API_KEY" ) is None , reason = "ANTHROPIC_API_KEY not set" )
131
133
async def test_list_models_from_default_provider ():
132
134
g = GPTScript (GlobalOptions (defaultModelProvider = "github.com/gptscript-ai/claude3-anthropic-provider" ))
133
135
try :
You can’t perform that action at this time.
0 commit comments