Skip to content

Commit 575692f

Browse files
committed
Update optillm.py
1 parent 1d84b2f commit 575692f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

optillm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def proxy():
297297
operation, approaches, model = parse_combined_approach(model, known_approaches, plugin_approaches)
298298
logger.info(f'Using approach(es) {approaches}, operation {operation}, with model {model}')
299299

300-
if bearer_token != "" and bearer_token.startswith("sk-") and model.startswith("gpt"):
300+
if bearer_token != "" and bearer_token.startswith("sk-"):
301301
api_key = bearer_token
302302
if base_url != "":
303303
client = OpenAI(api_key=api_key, base_url=base_url)

0 commit comments

Comments
 (0)