Update server.py
Browse files
server.py
CHANGED
|
@@ -1,12 +1,4 @@
|
|
| 1 |
#!/usr/bin/env python3
|
| 2 |
-
"""
|
| 3 |
-
Llama 3 CLI-Agent Server
|
| 4 |
-
ββββββββββββββββββββββββ
|
| 5 |
-
Gemini-CLI style planner + executor:
|
| 6 |
-
β’ plan with Meta-Llama-3-8B-Instruct
|
| 7 |
-
β’ steps: shell, read_file, write_file, edit_file, append_file, list_dir, python, respond
|
| 8 |
-
β’ robust JSON extraction (balanced braces) to avoid parse failures
|
| 9 |
-
"""
|
| 10 |
|
| 11 |
from flask import Flask, request, jsonify, Response
|
| 12 |
from huggingface_hub import snapshot_download
|
|
|
|
| 1 |
#!/usr/bin/env python3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
from flask import Flask, request, jsonify, Response
|
| 4 |
from huggingface_hub import snapshot_download
|