mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-18 05:18:00 +00:00
Add one model host per provider and the unwrapping walk
This commit is contained in:
24 files changed
+1329
No files matched your search
@@ -0,0 +1,21 @@
|
||||
using AIStudio.Provider;
|
||||
|
||||
namespace AIStudio.Models.Hosting.Hosts;
|
||||
|
||||
/// <summary>
|
||||
/// Alibaba Cloud Model Studio.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Worth knowing about this one: several names mean a different model here than they do anywhere
|
||||
/// else. "qwq" is the commercial qwq-plus on Model Studio and the open weights everywhere else.
|
||||
/// That is not settled here but in the rules, which can bind themselves to a provider -- this host
|
||||
/// exists so that they have a provider to bind to.
|
||||
/// </remarks>
|
||||
public sealed class HostAlibabaCloud : ModelHost
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public override LLMProviders Provider => LLMProviders.ALIBABA_CLOUD;
|
||||
|
||||
/// <inheritdoc />
|
||||
public override ModelSource Source => new("https://www.alibabacloud.com/help/en/model-studio/compatibility-of-openai-with-dashscope", new DateOnly(2026, 9, 11), "Models are named plainly, and the app reaches them through the OpenAI-compatible endpoint.");
|
||||
}
|
||||
Reference in new issue
Block a user