fix: RAG services improvements (#1565)

* fix: rag nix runner

* feat: improve rag default models

* fix: change log levels to avoid huge log files in rag service
This commit is contained in:
Omar Crespo
2025-03-20 00:28:04 -05:00
committed by GitHub
parent a9ec013f1c
commit 968d5fbd52
4 changed files with 26 additions and 23 deletions

View File

@@ -1,9 +1,9 @@
#!/bin/bash
#!/usr/bin/env bash
# Set the target directory (use the first argument or default to a temporary directory)
# Set the target directory (use the first argument or default to a local state directory)
TARGET_DIR=$1
if [ -z "$TARGET_DIR" ]; then
TARGET_DIR="/tmp/avante-rag-service"
TARGET_DIR="$HOME/.local/state/avante-rag-service"
fi
# Create the target directory if it doesn't exist
mkdir -p "$TARGET_DIR"