mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
Add additional type annotations for compiled_references et al
This commit is contained in:
parent
4fbaef10e9
commit
46ef205a75
1 changed files with 6 additions and 2 deletions
|
@ -128,10 +128,14 @@ async def execute_information_collection(
|
|||
):
|
||||
iteration = 0
|
||||
MAX_ITERATIONS = 2
|
||||
previous_iterations = []
|
||||
previous_iterations = List[InformationCollectionIteration]
|
||||
while iteration < MAX_ITERATIONS:
|
||||
online_results: Dict = dict()
|
||||
compiled_references, inferred_queries, defiltered_query = [], [], None
|
||||
|
||||
compiled_references: List[Any] = []
|
||||
inferred_queries: List[Any] = []
|
||||
defiltered_query = None
|
||||
|
||||
this_iteration = await apick_next_tool(
|
||||
query, conversation_history, subscribed, uploaded_image_url, agent, previous_iterations
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue