- Downgrade LLamaSharp packages to 0.25.0 to match Vulkan backend availability - Add LLamaSharp.Backend.Vulkan for AMD/Intel/NVIDIA GPU acceleration - Fix _gpuLayers bug: was reading LlamaCppTimeout instead of a dedicated field - Add GpuLayerCount to JournalConfig, sourced from JOURNAL_GPU_LAYERS env var - Document AI/LLM notes in README (version pinning, known vulkaninfo issue) Co-Authored-By: Oz <oz-agent@warp.dev>
27 lines
681 B
C#
27 lines
681 B
C#
namespace Journal.Core.Models;
|
|
|
|
public sealed record JournalConfig(
|
|
string ProjectRoot,
|
|
string AppDirectory,
|
|
string VaultDirectory,
|
|
string LogDirectory,
|
|
string PidFile,
|
|
string ServerControlFile,
|
|
string DatabaseFilename,
|
|
string CloudAiApiKey,
|
|
string CloudAiApiUrl,
|
|
string LlamaCppUrl,
|
|
string LlamaCppModel,
|
|
int LlamaCppTimeout,
|
|
int GpuLayerCount,
|
|
string EmbeddingApiUrl,
|
|
string EmbeddingModelName,
|
|
int ModelContextTokens,
|
|
int ChunkTokenBudget,
|
|
int? MicrophoneDeviceIndex,
|
|
string SpeechRecognitionEngine,
|
|
string WhisperModelSize,
|
|
string NlpBackend,
|
|
string AiProvider,
|
|
string GgufModelPath);
|