mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-17 05:38:00 +00:00
Keep non-chat models out of the chat lists
This commit is contained in:
11 files changed
+111
-5
No files matched your search
@@ -18,7 +18,7 @@ public sealed class VideoGenerationModelsFamily : ModelFamily
|
||||
public override ModelVendor Vendor => ModelVendor.UNKNOWN;
|
||||
|
||||
/// <inheritdoc />
|
||||
public override ModelSource Source => new("https://huggingface.co/models?pipeline_tag=text-to-video", new DateOnly(2026, 9, 12), "Ported from the video generation markers of Provider/ModelKindExtensions.cs, where veo carried a trailing hyphen to say the same thing a name part says here.");
|
||||
public override ModelSource Source => new("https://huggingface.co/models?pipeline_tag=text-to-video", new DateOnly(2026, 9, 12), "Ported from the video generation markers of Provider/ModelKindExtensions.cs, where veo carried a trailing hyphen to say the same thing a name part says here. Grok Imagine was added after it turned up in the chat list while testing; see https://docs.x.ai/docs/models.");
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Declare(ModelFamilyBuilder builder)
|
||||
@@ -32,5 +32,8 @@ public sealed class VideoGenerationModelsFamily : ModelFamily
|
||||
builder.Modifier("veo").AsSegment().Inherits();
|
||||
|
||||
builder.Modifier("kling").AsSegment().Inherits();
|
||||
|
||||
// Grok Imagine makes both stills and film; the word next to it says which:
|
||||
builder.Modifier("grok-imagine").AsSegment().AlsoContains("video").Inherits();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user