Tagit bort utkommenterad kod
This commit is contained in:
@@ -84,15 +84,6 @@ def configure():
|
|||||||
global_state.set_host_url(next(iter(endpoints),None)) # Set initial host to the first item in endpoints (or None)
|
global_state.set_host_url(next(iter(endpoints),None)) # Set initial host to the first item in endpoints (or None)
|
||||||
global_state.set_llm(llm) # Set which server and llm to use
|
global_state.set_llm(llm) # Set which server and llm to use
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# # TODO: Remove this section when not needed anymore
|
|
||||||
# if isinstance(updated_config.get('ollama'), dict): # Look for 'ollama' key
|
|
||||||
# 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
|
return updated_config
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user