From 76f20e5cf8414017b90bc4c72ac74e5fb838e003 Mon Sep 17 00:00:00 2001 From: Joakim Persson Date: Sun, 4 Aug 2024 01:12:12 +0200 Subject: [PATCH] Tagit bort utkommenterad kod --- smartassist/src/startservices.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/smartassist/src/startservices.py b/smartassist/src/startservices.py index 1831c60..39d6555 100644 --- a/smartassist/src/startservices.py +++ b/smartassist/src/startservices.py @@ -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_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