zyratlo commented on code in PR #8910:
URL: https://github.com/apache/texera/pull/8910#discussion_r4391200272


##########
frontend/src/app/workspace/service/notebook-migration/migration-llm.ts:
##########
@@ -444,10 +481,12 @@ export class NotebookMigrationLLM {
       throw new Error("LLM session not initialized");
     }
 
+    const prompts = PROMPT_SETS.python;
     const { workflowJSON, udfIdToOperatorId, workflowResponse, reportedRanges 
} = await this.requestConversion(
-      NotebookMigrationLLM.FOLDER_DOCUMENTATION,
+      PYTHON_FOLDER_DOCUMENTATION,
       FOLDER_WORKFLOW_PROMPT,
       FOLDER_MAPPING_PROMPT,
+      prompts.operatorType,

Review Comment:
   Kept out on purpose. The folder fields join the prompt set in the R folders 
PR, the first point where a second language fills them in. Adding them now 
would need an optional group and a "no folder prompts" error that only exist 
until then.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to