mirror of
https://github.com/celesrenata/end-4-flakes.git
synced 2026-06-07 11:09:26 -05:00
ac6d3adeb9
BREAKING CHANGE: Remove external dots-hyprland dependency - Imported all essential configs from dots-hyprland/installer-replication - Added complete configs/ directory with: - hypr/ - Hyprland configuration - quickshell/ - Quickshell widgets and config - applications/ - Application configurations - scripts/ - Utility scripts - matugen/ - Material You theming - Updated flake.nix to use local ./configs instead of external repo - Simplified update-flake script (removed external repo management) - Updated README to reflect self-contained architecture - All builds pass with local configurations Benefits: - No external repository dependencies - Faster builds (no network dependencies) - Version controlled configs in single repo - Easier maintenance and development - Complete installer replication in one place
33 lines
1.1 KiB
QML
33 lines
1.1 KiB
QML
import QtQuick;
|
|
|
|
/**
|
|
* An AI model representation.
|
|
* - name: Friendly name of the model
|
|
* - icon: Icon name of the model
|
|
* - description: Description of the model
|
|
* - endpoint: Endpoint of the model
|
|
* - model: Model code (like gpt-4.1 or gemini-2.5-flash)
|
|
* - requires_key: Whether the model requires an API key
|
|
* - key_id: The identifier of the API key. Use the same identifier for models that can be accessed with the same key.
|
|
* - key_get_link: Link to get an API key
|
|
* - key_get_description: Description of pricing and how to get an API key
|
|
* - api_format: The API format of the model. Can be "openai" or "gemini". Default is "openai".
|
|
* - extraParams: Extra parameters to be passed to the model. This is a JSON object.
|
|
*/
|
|
|
|
QtObject {
|
|
property string name
|
|
property string icon
|
|
property string description
|
|
property string homepage
|
|
property string endpoint
|
|
property string model
|
|
property bool requires_key: true
|
|
property string key_id
|
|
property string key_get_link
|
|
property string key_get_description
|
|
property string api_format: "openai"
|
|
property var tools
|
|
property var extraParams: ({})
|
|
}
|