mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-07 13:23:15 +00:00
Add additional type annotations for compiled_references et al
This commit is contained in:
@@ -128,10 +128,14 @@ async def execute_information_collection(
|
|||||||
):
|
):
|
||||||
iteration = 0
|
iteration = 0
|
||||||
MAX_ITERATIONS = 2
|
MAX_ITERATIONS = 2
|
||||||
previous_iterations = []
|
previous_iterations = List[InformationCollectionIteration]
|
||||||
while iteration < MAX_ITERATIONS:
|
while iteration < MAX_ITERATIONS:
|
||||||
online_results: Dict = dict()
|
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(
|
this_iteration = await apick_next_tool(
|
||||||
query, conversation_history, subscribed, uploaded_image_url, agent, previous_iterations
|
query, conversation_history, subscribed, uploaded_image_url, agent, previous_iterations
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user