Skip to content

Commit

Permalink
Merge pull request #1873 from solliancenet/jdh-image-generation-083
Browse files Browse the repository at this point in the history
(0.8.3) Add missing image generation resource type
  • Loading branch information
ciprianjichici authored Oct 14, 2024
2 parents f6c101d + ceda54d commit 26e1d47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dotnet/AIModel/Models/AIModelReference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class AIModelReference : ResourceReference
AIModelTypes.Basic => typeof(AIModelBase),
AIModelTypes.Completion => typeof(CompletionAIModel),
AIModelTypes.Embedding => typeof(EmbeddingAIModel),
AIModelTypes.ImageGeneration => typeof(ImageGenerationAIModel),
_ => throw new ResourceProviderException($"The data source type {Type} is not supported.")
};
}
Expand Down

0 comments on commit 26e1d47

Please sign in to comment.