forked from Shinonome/dots-hyprland
11 lines
643 B
QML
11 lines
643 B
QML
import QtQuick
|
|
|
|
QtObject {
|
|
function buildEndpoint(model: AiModel): string { throw new Error("Not implemented") }
|
|
function buildRequestData(model: AiModel, messages, systemPrompt: string, temperature: real) { throw new Error("Not implemented") }
|
|
function buildAuthorizationHeader(apiKeyEnvVarName: string): string { throw new Error("Not implemented") }
|
|
function parseResponseLine(line: string, message: AiMessageData) { throw new Error("Not implemented") }
|
|
function onRequestFinished(message: AiMessageData): var { return {} } // Default: no special handling
|
|
function reset() { } // Reset any internal state if needed
|
|
}
|