MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / get_answer_list

Method get_answer_list

apps/application/flow/i_step_node.py:280–287  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

278 pass
279
280 def get_answer_list(self) -> List[Answer] | None:
281 if self.answer_text is None:
282 return None
283 reasoning_content_enable = self.context.get('model_setting', {}).get('reasoning_content_enable', False)
284 return [
285 Answer(self.answer_text, self.view_type, self.runtime_node_id, self.workflow_params.get('chat_record_id'),
286 {},
287 self.runtime_node_id, self.context.get('reasoning_content', '') if reasoning_content_enable else '')]
288
289 def __init__(self, node, workflow_params, workflow_manage, up_node_id_list=None,
290 get_node_params=lambda node: node.properties.get('node_data'), salt=None):

Callers 1

get_answer_text_listMethod · 0.45

Calls 2

AnswerClass · 0.90
getMethod · 0.45

Tested by

no test coverage detected