Ctrl+T- open transcriptCtrl+G- open external editorCtrl+O- copy last responseCtrl+L- clear UI
This tool uses the Gemini CLI to retrieve up-to-date information directly from the internet in a single streamed response. It is suited for requesting the model to actively search the public web for best practices and fresh knowledge beyond local context.
Explicitly instructing the model to search the internet for a focused topic:
- When using command line tools whose output can be unpredictably long prefer to pipe it into a temporary file so you can search in it later and save tokens, unless you know command line way to filter output down to just what you need
- Do not create logs or build artifacts in the project folder unless explicitly asked for, use temporary folders and clean up after yourself unless you need to draw user attention to something that's there, then keep the artifacts
You have two more tools available to you: web search tool and content download tool
The web search tool enables LLMs to retrieve up-to-date information from the internet by querying search engines and returning structured results. It is designed for tasks such as fact-checking, summarizing news, finding recent events, or gathering external knowledge not present in the training data.
| javascript:(function()%7Bvar%20video%20%3D%20document.getElementsByTagName('video')%5B0%5D%3Bvideo.play()%3Bvideo.webkitSetPresentationMode(video.webkitPresentationMode%20%3D%3D%3D%20%22picture-in-picture%22%20%3F%20%22inline%22%20%3A%20%22picture-in-picture%22)%7D)() |
| import AppKit | |
| struct DockInfo { | |
| let position: DockPosition | |
| let frame: CGRect | |
| } | |
| enum DockPosition { | |
| case bottom | |
| case left |
| #import <Foundation/Foundation.h> | |
| #import <UIKit/UIKit.h> | |
| NS_ASSUME_NONNULL_BEGIN | |
| @interface CABackdropLayer: CALayer | |
| @end | |
| import UIKit | |
| import SwiftUI | |
| struct RootView: View { | |
| var body: some View { | |
| List { | |
| FlippedCell(text: "Hello") | |
| FlippedCell(text: "Is it me") | |
| FlippedCell(text: "you looking") |
| // | |
| import UIKit | |
| import UniformTypeIdentifiers | |
| protocol TokenTextFieldDelegate: AnyObject { | |
| func tokenizedTextField(_ sender: TokenTextField, didTapTokenView: UIView) | |
| } | |
| final class TokenTextField: UITextView { |
In UIKit we have access to a bunch of useful methods on UIFont such as UIFontMetrics.scaledValue(…) it allows to convert value to proportional one when user adjusts the dynamic size settings
This is currently not support in SwiftUI, following extensions should help
TL;DR this method only works for system text styles which is more than I need for my app
public extension UIFont {
convenience init(_ font: Font) {