Invoke Inline Chat
To invoke inline chat in any editor or log view:- Place the cursor in the editor or select specific log entries
- Use the shortcut (macOS:
Command + I
; Windows:Ctrl + I
)
Add to Chat Functionality
Currently, Agentkube supports “Add to Chat” functionality rather than full inline editing capabilities. This allows you to:Resource Context
- Select specific Kubernetes resources in the editor
- Click
Add to Chat
or use the keyboard shortcut to send the selected resource context to the side chat - The selected resource configuration, metadata, and relevant context will be automatically added to your chat conversation
Log Context
- Select specific log entries in the log viewer
- Click
Add to Chat
to send the selected log entries to the side chat - The selected log lines, timestamps, and associated pod/container context will be added to your conversation
- This enables you to ask specific questions about errors, warnings, or other log events
How It Works
When you useAdd to Chat
:
- Resource Selection: The selected Kubernetes resource YAML, metadata, and current status are captured
- Log Selection: The selected log entries with timestamps and container context are captured
- Context Transfer: The captured information is automatically sent to the side chat with appropriate formatting
- AI Understanding: The AI assistant receives the context and can provide specific guidance, troubleshooting, or explanations based on the selected content