MCPcopy
hub / github.com/microsoft/JARVIS / collect_result

Function collect_result

hugginggpt/server/awesome_chat.py:712–717  ·  view source on GitHub ↗
(command, choose, inference_result)

Source from the content-addressed store, hash-verified

710 return all_available_models
711
712def collect_result(command, choose, inference_result):
713 result = {"task": command}
714 result["inference result"] = inference_result
715 result["choose model result"] = choose
716 logger.debug(f"inference result: {inference_result}")
717 return result
718
719
720def run_task(input, command, results, api_key, api_type, api_endpoint):

Callers 1

run_taskFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected