π OpenHands: AI-Driven Development
fix(frontend): unable to create a new conversation through the Microagent Management page when the feature flag is enabled. (#11523)
Hiep Leb5920eece67e
diff --git a/frontend/src/hooks/mutation/use-create-conversation.ts b/frontend/src/hooks/mutation/use-create-conversation.tsindex f7ac88e499..24d59e75eb 100644--- a/frontend/src/hooks/mutation/use-create-conversation.ts+++ b/frontend/src/hooks/mutation/use-create-conversation.ts@@ -45,7 +45,7 @@ export const useCreateConversation = () => {createMicroagent,} = variables;- const useV1 = USE_V1_CONVERSATION_API();+ const useV1 = USE_V1_CONVERSATION_API() && !createMicroagent;if (useV1) {// Use V1 API - creates a conversation start task