|
|
@ -58,7 +58,7 @@ class ModelFactory: |
|
|
|
|
|
|
|
|
# 3. Instantiate the correct Class |
|
|
# 3. Instantiate the correct Class |
|
|
if provider_name == 'openai_like': |
|
|
if provider_name == 'openai_like': |
|
|
return OpenRouter( |
|
|
|
|
|
|
|
|
return OpenAILike( |
|
|
id=model_config_data['id'], |
|
|
id=model_config_data['id'], |
|
|
api_key=api_key, |
|
|
api_key=api_key, |
|
|
base_url=base_url, |
|
|
base_url=base_url, |
|
|
|