Buckets:

download
raw
1.07 kB
#!/usr/bin/env python3
"""Wrapper for EUFLE CLI. Defaults to Ollama when EUFLE_DEFAULT_PROVIDER/EUFLE_MODEL are unset.
To use external providers (e.g. OpenAI, Anthropic), set before running:
EUFLE_DEFAULT_PROVIDER=openai (or whatever provider EUFLE supports)
EUFLE_MODEL=gpt-4o
OPENAI_API_KEY=sk-...
"""
import os
import subprocess
import sys
from pathlib import Path
# Path to the actual implementation
EUFLE_ROOT = Path(r"E:\EUFLE")
ACTUAL_CLI = EUFLE_ROOT / "eufle.py"
def main():
if not ACTUAL_CLI.exists():
print(f"Error: EUFLE implementation not found at {ACTUAL_CLI}")
sys.exit(1)
# Run the actual CLI with all arguments
cmd = [sys.executable, str(ACTUAL_CLI)] + sys.argv[1:]
# Ensure the environment variables are set for this subprocess
env = os.environ.copy()
if not env.get("EUFLE_DEFAULT_PROVIDER"):
env["EUFLE_DEFAULT_PROVIDER"] = "ollama"
if not env.get("EUFLE_MODEL"):
env["EUFLE_MODEL"] = "mistral-nemo:latest"
subprocess.run(cmd, env=env)
if __name__ == "__main__":
main()

Xet Storage Details

Size:
1.07 kB
·
Xet hash:
3acdace93cdab7fd5a5b0e26bd5c0d182ce21e78946b0c9555a8dc74aa39834f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.