mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-04 21:06:03 +00:00
fix(modelscope): bad base-url in migration
This commit is contained in:
@@ -19,7 +19,7 @@ class ModelScopeConfigCompletionMigration(migration.Migration):
|
||||
"""
|
||||
if 'modelscope-chat-completions' not in self.ap.provider_cfg.data['requester']:
|
||||
self.ap.provider_cfg.data['requester']['modelscope-chat-completions'] = {
|
||||
'base-url': 'https://api.modelscope.cn/v1',
|
||||
'base-url': 'https://api-inference.modelscope.cn/v1',
|
||||
'args': {},
|
||||
'timeout': 120,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user