Add additional type annotations for compiled_references et al

This commit is contained in:
sabaimran
2024-10-09 16:01:52 -07:00
parent 4fbaef10e9
commit 46ef205a75

View File

@@ -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
) )