MCPcopy Index your code
hub / github.com/OpenBMB/ChatDev / _build_task_input

Method _build_task_input

server/services/batch_run_service.py:238–242  ·  view source on GitHub ↗
(attachment_store, task: BatchTask)

Source from the content-addressed store, hash-verified

236
237 @staticmethod
238 def _build_task_input(attachment_store, task: BatchTask):
239 if task.attachment_paths:
240 builder = TaskInputBuilder(attachment_store)
241 return builder.build_from_file_paths(task.task_prompt, task.attachment_paths)
242 return task.task_prompt
243
244 @staticmethod
245 def _sanitize_label(value: str) -> str:

Callers 1

_run_single_taskMethod · 0.95

Calls 2

build_from_file_pathsMethod · 0.95
TaskInputBuilderClass · 0.90

Tested by

no test coverage detected