mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-19 20:57:58 +00:00
sync
This commit is contained in:
parent
1c03d31717
commit
7ad456806e
@ -1448,7 +1448,7 @@ class LollmsApplication(LoLLMsCom):
|
||||
"is_continue":is_continue,
|
||||
"previous_chunk":previous_chunk
|
||||
}
|
||||
if self.config.debug:
|
||||
if self.config.debug and not self.personality.processor:
|
||||
ASCIIColors.highlight(documentation,"source_document_title", ASCIIColors.color_yellow, ASCIIColors.color_red, False)
|
||||
# Return the prepared query, original message content, and tokenized query
|
||||
return prompt_data, current_message.content, tokens, context_details, internet_search_infos
|
||||
|
@ -2624,6 +2624,9 @@ class APScript(StateMachine):
|
||||
Use this structure:
|
||||
{output_data}
|
||||
"""
|
||||
if self.config.debug and not self.personality.processor:
|
||||
ASCIIColors.highlight(full_prompt,"source_document_title", ASCIIColors.color_yellow, ASCIIColors.color_red, False)
|
||||
|
||||
response = self.generate_code(full_prompt, callback=self.sink, accept_all_if_no_code_tags_is_present=True)
|
||||
# Parse the response based on format
|
||||
if output_format == "yaml":
|
||||
|
Loading…
Reference in New Issue
Block a user