mirror of
https://github.com/tcsenpai/agenticSeek.git
synced 2025-06-06 11:05:26 +00:00
feat : better logging
This commit is contained in:
parent
7e95498f7a
commit
32b17c3373
@ -15,7 +15,7 @@ app = Flask(__name__)
|
||||
|
||||
assert args.provider in ["ollama", "llamacpp"], f"Provider {args.provider} does not exists. see --help for more information"
|
||||
|
||||
generator = OllamaLLM if args.provider == "ollama" else LlamacppLLM
|
||||
generator = OllamaLLM() if args.provider == "ollama" else LlamacppLLM()
|
||||
|
||||
@app.route('/generate', methods=['POST'])
|
||||
def start_generation():
|
||||
|
Loading…
x
Reference in New Issue
Block a user