mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-12 04:16:54 +08:00
@@ -493,6 +493,10 @@ class GenerateTaskPipeline:
|
|||||||
'score': resource['score'],
|
'score': resource['score'],
|
||||||
'content': resource['content'],
|
'content': resource['content'],
|
||||||
})
|
})
|
||||||
|
# show annotation reply
|
||||||
|
if 'annotation_reply' in self._task_state.metadata:
|
||||||
|
if self._application_generate_entity.invoke_from in [InvokeFrom.DEBUGGER, InvokeFrom.SERVICE_API]:
|
||||||
|
metadata['annotation_reply'] = self._task_state.metadata['annotation_reply']
|
||||||
|
|
||||||
# show usage
|
# show usage
|
||||||
if self._application_generate_entity.invoke_from in [InvokeFrom.DEBUGGER, InvokeFrom.SERVICE_API]:
|
if self._application_generate_entity.invoke_from in [InvokeFrom.DEBUGGER, InvokeFrom.SERVICE_API]:
|
||||||
|
|||||||
Reference in New Issue
Block a user