🔎 feat: search fix web search

This commit is contained in:
Florian Hönicke
2023-05-19 15:26:38 +02:00
parent 328eee7f18
commit 1c375f3d50

View File

@@ -197,7 +197,7 @@ metas:
with open(os.path.join(os.path.dirname(__file__), 'static_files', 'microservice', 'apis.py'), 'r', encoding='utf-8') as f: with open(os.path.join(os.path.dirname(__file__), 'static_files', 'microservice', 'apis.py'), 'r', encoding='utf-8') as f:
persist_file(f.read(), os.path.join(self.cur_microservice_path, 'apis.py')) persist_file(f.read(), os.path.join(self.cur_microservice_path, 'apis.py'))
is_using_gpt_3_5_turbo = 'gpt-3-5-turbo' in packages is_using_gpt_3_5_turbo = 'gpt_3_5_turbo' in packages
is_using_google_custom_search = 'google-custom-search' in packages is_using_google_custom_search = 'google-custom-search' in packages
microservice_content = self.generate_and_persist_file( microservice_content = self.generate_and_persist_file(
section_title='Microservice', section_title='Microservice',