MCPcopy Create free account
hub / github.com/ChartGalaxy/ChartGalaxy / process_chat_task

Function process_chat_task

code_generation_benchmark/main.py:164–172  ·  view source on GitHub ↗
(logger, task)

Source from the content-addressed store, hash-verified

162file_lock = threading.Lock()
163
164def process_chat_task(logger, task):
165 data_path = Path(task['data_path'])
166 model_type = task['model_type']
167 setting_name = task['setting_name']
168 try:
169 single_chat(logger, data_path, model_type, setting_name)
170 except Exception as e:
171 logger.error(f'*** chat error: {setting_name} {data_path.name}')
172 logger.error(str(e))
173
174def do_eval(logger, task):
175 data_path = Path(task['data_path'])

Callers

nothing calls this directly

Calls 1

single_chatFunction · 0.85

Tested by

no test coverage detected