mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 21:29:11 +00:00
Pass data collected from various sources to code tool in normal flow too
This commit is contained in:
@@ -954,7 +954,9 @@ async def chat(
|
|||||||
## Gather Code Results
|
## Gather Code Results
|
||||||
if ConversationCommand.Code in conversation_commands:
|
if ConversationCommand.Code in conversation_commands:
|
||||||
try:
|
try:
|
||||||
previous_iteration_history = ""
|
previous_iteration_history = (
|
||||||
|
f"# Iteration 1:\n#---\nNotes:\n{compiled_references}\n\nOnline Results:{online_results}"
|
||||||
|
)
|
||||||
async for result in run_code(
|
async for result in run_code(
|
||||||
defiltered_query,
|
defiltered_query,
|
||||||
meta_log,
|
meta_log,
|
||||||
|
|||||||
Reference in New Issue
Block a user