Files
apidash/packages/genai/lib/consts.dart
Ankit Mahato 72fea1ba65 Refactor genai package to new modular interface
Reorganized the genai package by removing legacy LLM-related files and introducing a new modular interface under the 'interface' directory. Added provider-specific model classes, centralized constants, and updated the example to use the new API and data structures. Updated exports in genai.dart and improved dependency management.
2025-08-27 02:08:36 +05:30

11 lines
296 B
Dart

import 'models/models.dart';
const kKeyStream = 'stream';
final kAvailableModels = AvailableModels.fromJson(kModelsData);
const kModelRemoteUrl =
'https://raw.githubusercontent.com/foss42/apidash/package/genai/packages/genai/models.json';
const kBaseOllamaUrl = 'http://localhost:11434';