Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var COMMAND_QUESTION_PROMPT string = `` /* 466-byte string literal not displayed */
View Source
var COMPRESS_DIFF_PROMPT string = "" /* 305-byte string literal not displayed */
View Source
var CommentOperators = map[string]string{
".py": "#",
".go": "//",
".c": "//",
".cpp": "//",
".h": "//",
".cs": "//",
".java": "//",
".js": "//",
".ts": "//",
".php": "//",
".rb": "#",
".rs": "//",
".swift": "//",
".sh": "#",
".pl": "#",
".lua": "--",
".m": "%",
".r": "#",
".scala": "//",
".kts": "//",
".vb": "'",
".f": "!",
".asm": ";",
".html": "<!--",
".css": "/*",
".sol": "//",
}
View Source
var DOCUMENT_FILE_PROMPT string = `` /* 1009-byte string literal not displayed */
DOCUMENT_FILE_PROMPT is the prompt for the OpenAI API when documenting a file. Needs tuned more.
View Source
var DOCUMENT_MARKDOWN_PROMPT string = `` /* 605-byte string literal not displayed */
View Source
var EDIT_CODE_PROMPT string = `` /* 797-byte string literal not displayed */
View Source
var GIT_DIFF_PROMPT_CONVENTIONAL string = `` /* 416-byte string literal not displayed */
View Source
var GIT_DIFF_PROMPT_STD string = `` /* 417-byte string literal not displayed */
View Source
var PR_BODY_PROMPT string = "" /* 331-byte string literal not displayed */
View Source
var PR_TITLE_PROMPT string = "" /* 322-byte string literal not displayed */
View Source
var QUESTION_PROMPT string = `` /* 525-byte string literal not displayed */
View Source
var RELEASE_PROMPT string = `` /* 479-byte string literal not displayed */
View Source
var SUMMARIZE_PROMPT string = "You are a helpful assistant who summarizes text. Summarize the following into a single line with at most 75 characters:\n"
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.