mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 18:57:05 +08:00
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.
11 lines
296 B
Dart
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';
|