Ctrl+T- open transcriptCtrl+G- open external editorCtrl+O- copy last responseCtrl+L- clear UI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Foundation | |
| import CoreImage | |
| struct CleanupError: LocalizedError { | |
| let message: String | |
| var errorDescription: String? { message } | |
| } | |
| /// Remove a rectangle using the OS inpainting model. Rect uses whole pixels from the top-left of the oriented image. | |
| public func cleanUp(_ image: CIImage, rect: CGRect) throws -> CIImage { |
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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)() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import AppKit | |
| struct DockInfo { | |
| let position: DockPosition | |
| let frame: CGRect | |
| } | |
| enum DockPosition { | |
| case bottom | |
| case left |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import <Foundation/Foundation.h> | |
| #import <UIKit/UIKit.h> | |
| NS_ASSUME_NONNULL_BEGIN | |
| @interface CABackdropLayer: CALayer | |
| @end | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import UIKit | |
| import SwiftUI | |
| struct RootView: View { | |
| var body: some View { | |
| List { | |
| FlippedCell(text: "Hello") | |
| FlippedCell(text: "Is it me") | |
| FlippedCell(text: "you looking") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| import UIKit | |
| import UniformTypeIdentifiers | |
| protocol TokenTextFieldDelegate: AnyObject { | |
| func tokenizedTextField(_ sender: TokenTextField, didTapTokenView: UIView) | |
| } | |
| final class TokenTextField: UITextView { |
NewerOlder