feat: show Ollama plugin badge and available LLM models on marketplace cards
Backend: - Add attributes field to MarketplaceOfferView schema - Include attributes in _to_offer_view() response Frontend: - Add attributes type with Ollama fields to OfferRecord - Show purple 'Ollama' plugin badge on cards with models - Display available LLM model tags (gemma3, deepseek-r1, etc.) - Add plugin-badge and model-tag CSS styles
This commit is contained in:
@@ -16,6 +16,13 @@ interface OfferRecord {
|
||||
cuda_version?: string;
|
||||
price_per_hour?: number;
|
||||
region?: string;
|
||||
attributes?: {
|
||||
ollama_host?: string;
|
||||
models?: string[];
|
||||
vram_mb?: number;
|
||||
driver?: string;
|
||||
[key: string]: unknown;
|
||||
};
|
||||
}
|
||||
|
||||
interface OffersResponse {
|
||||
|
||||
Reference in New Issue
Block a user