Le mode tangente crée des points de contrôle de conversation, vous permettant d'explorer des sujets connexes sans perturber le déroulement de votre conversation principale. Entrez en mode tangente, posez des questions ou explorez des idées, puis revenez à votre conversation originale exactement là où vous l'aviez laissée.
Le mode tangente est expérimental et doit être activé :
Via la commande Experiment :
/experiment # Select tangent mode from the list
Via les paramètres :
kiro-cli settings chat.enableTangentMode true
Utilisez /tangent ou Ctrl+T :
> /tangent Created a conversation checkpoint (↯). Use ctrl + t or /tangent to restore the conversation later.
Vous verrez un symbole jaune ↯ dans votre requête :
↯ > What is the difference between async and sync functions?
Utilisez /tangent ou Ctrl+T à nouveau :
↯ > /tangent Restored conversation from checkpoint (↯). - Returned to main conversation.
Utilisez /tangent tail pour préserver la dernière entrée de conversation (question + réponse) :
↯ > /tangent tail Restored conversation from checkpoint (↯) with last conversation entry preserved.
> I need to process a large CSV file in Python. What's the best approach? I recommend using pandas for CSV processing... > /tangent Created a conversation checkpoint (↯). ↯ > What about using the csv module instead of pandas? The csv module is lighter weight... ↯ > /tangent Restored conversation from checkpoint (↯). > Thanks! I'll go with pandas. Can you show me error handling?
> Help me write a deployment script I can help you create a deployment script... > /tangent Created a conversation checkpoint (↯). ↯ > What Kiro CLI commands are available for file operations? Kiro CLI provides read, write, shell... ↯ > /tangent Restored conversation from checkpoint (↯). > It's a Node.js application for AWS
> I need to optimize this SQL query Could you share the query you'd like to optimize? > /tangent Created a conversation checkpoint (↯). ↯ > What information do you need to help optimize a query? To optimize SQL queries effectively, I need: 1. The current query 2. Table schemas and indexes... ↯ > /tangent Restored conversation from checkpoint (↯). > Here's my query: SELECT * FROM orders...
> Help me debug this Python error I can help you debug that. Could you share the error message? > /tangent Created a conversation checkpoint (↯). ↯ > What are the most common Python debugging techniques? Here are the most effective Python debugging techniques: 1. Use print statements strategically 2. Leverage the Python debugger (pdb)... ↯ > /tangent tail Restored conversation from checkpoint (↯) with last conversation entry preserved. > Here's my error: TypeError: unsupported operand type(s)... # The preserved entry about debugging techniques is now part of main conversation
Changez la touche de raccourci (par défaut : t) :
kiro-cli settings chat.tangentModeKey y
Entrez automatiquement en mode tangente pour les questions d'aide sur Kiro CLI :
kiro-cli settings introspect.tangentMode true
> (magenta)↯ > (jaune ↯ + magenta)[dev] ↯ > (cyan + jaune ↯ + magenta)/tangent tail : lorsque la question et la réponse de la tangente sont toutes deux utiles pour la conversation principaleLorsque vous entrez en mode tangente :
Lorsque vous quittez le mode tangente :
tail)En utilisant /tangent tail :
Activez-le via experiment :
/experiment # Select tangent mode from the list
Ou activez-le via les paramètres :
kiro-cli settings chat.enableTangentMode true
Vérifiez ou réinitialisez la touche de raccourci :
kiro-cli settings chat.tangentModeKey t
Assurez-vous d'utiliser Ctrl+T (pas seulement T).
Recherchez le symbole ↯ dans votre requête. Utilisez /tangent pour sortir et revenir à la conversation principale.
Si vous quittez le mode tangente sans utiliser tail et que vous perdez de l'information importante :
/tangent tail à l'avenir pour préserver les paires question-réponse importantes/experiment/tangent/tangent tail> Help me refactor this React component # Main conversation starts... > /tangent ↯ > What's the difference between useMemo and useCallback? # Get clarification... ↯ > /tangent tail # This was useful, keep it > Now I understand. Let's use useMemo for the expensive calculation...
Mode tangente