Compare commits
2 Commits
1757542077
...
d843a2b74c
| Author | SHA1 | Date | |
|---|---|---|---|
| d843a2b74c | |||
| ab94c06e75 |
@@ -42,7 +42,7 @@ def index():
|
||||
logger.debug("Client HTML (first few characters): %s", client_html[:50]) # Print to see if it's loading
|
||||
# logger.debug("Client HTML (all characters): %s", client_html) # Print to see if it's loading
|
||||
|
||||
return render_template('index.html', api_endpoint=api_endpoint, client_content=client_html)
|
||||
return render_template('index.html', api_endpoint=api_endpoint, use_model = use_model, client_content=client_html)
|
||||
|
||||
@app.route('/<path:filename>')
|
||||
def serve_static(filename):
|
||||
|
||||
@@ -72,6 +72,7 @@ def configure():
|
||||
if isinstance(updated_config['ollama'].get('model'), str): # Look for 'model' key
|
||||
model_to_use = updated_config['ollama'].get('model')
|
||||
global_state.set_llm(model_to_use)
|
||||
logger.debug("configure(): LLM is set to: %s",global_state.get_llm())
|
||||
|
||||
return updated_config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user