{"id":13912387,"url":"https://github.com/nvms/wingman","last_synced_at":"2025-04-23T13:43:20.576Z","repository":{"id":171671107,"uuid":"648251697","full_name":"nvms/wingman","owner":"nvms","description":"Your pair programming wingman. Supports OpenAI, Anthropic, or any LLM on your local inference server.","archived":false,"fork":false,"pushed_at":"2024-06-26T18:24:14.000Z","size":103102,"stargazers_count":68,"open_issues_count":13,"forks_count":11,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T00:11:20.913Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=nvms.ai-wingman","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nvms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-01T14:38:55.000Z","updated_at":"2025-03-26T00:39:43.000Z","dependencies_parsed_at":"2023-12-25T21:29:29.391Z","dependency_job_id":"9e6f2dcd-76fb-4da1-9b2a-630cb0d434f5","html_url":"https://github.com/nvms/wingman","commit_stats":null,"previous_names":["nvms/wingman"],"tags_count":80,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvms%2Fwingman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvms%2Fwingman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvms%2Fwingman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvms%2Fwingman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nvms","download_url":"https://codeload.github.com/nvms/wingman/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250441363,"owners_count":21431161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-07T01:01:24.147Z","updated_at":"2025-04-23T13:43:20.553Z","avatar_url":"https://github.com/nvms.png","language":"TypeScript","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"A highly flexible, customizable, and powerful extension for working with LLMs within Visual Studio Code.\n\nHighlights:\n\n- Compatible with OpenAI (any model), Anthropic (any model), KoboldCpp (soon!) — and any API following the same request/response pattern. Do you self-host an inference server and LLM? You will love Wingman.\n- Complete control over completion parameters, system message, and more.\n- Highly customizable prompt templates with built-in prompt management.\n- Workspace-specific chat history storage. Review old chats whenever.\n- No need to edit `settings.json` for any reason. There's a UI for everything.\n- A few modes, and dozens of prompts to get you started.\n\n\u003ccenter\u003e\n\n![image](.github/media/diff.png)\n\n\u003c/center\u003e\n\n# Usage\n\nIf you're using a local solution, you can skip setting an API key.\n\nOtherwise, you need to configure API keys for whichever providers you plan to use by opening the command pallete (Windows: \u003ckbd\u003e⊞\u003c/kbd\u003e\u003ckbd\u003e⇧\u003c/kbd\u003e\u003ckbd\u003eP\u003c/kbd\u003e, macOS: \u003ckbd\u003e⌘\u003c/kbd\u003e\u003ckbd\u003e⇧\u003c/kbd\u003e\u003ckbd\u003eP\u003c/kbd\u003e) and running the command labeled: \"Wingman: Set API key\". Select the provider you want to use, enter your API key, and press enter.\n\n# Core concepts\n\nThere are three concepts that are crucial to understanding how Wingman operates.\n\nIt's really not that complicated.\n\n- Prompts\n- Presets\n- Modes\n\n## Prompts\n\nA UI is included for prompt management.\n\nWingman makes your prompts dynamic with support for placeholders.\n\nCurrent placeholders:\n\n- `{{selection}}` is replaced with the selected text.\n- `{{ft}}` is replaced with the VSCode language identifier (`go`, `typescript`)\n- `{{language}}` is replaced with a friendly language name (`Go`, `TypeScript`).\n- `{{file}}` is replaced with the contents of the active file.\n- `{{input}}` prompts for user input and replaces this placeholder with the response.\n- `{{:param:val}}` prompt-level completion param overrides (e.g. `{{:top_k:0.1}}`).\n\n\u003ccenter\u003e\n\n![image](.github/media/promptui.png)\n\n\u003c/center\u003e\n\n## Presets\n\nA UI is included for preset management.\n\nA preset is a provider configuration. It defines the system message, the provider, the API URL, and completion parameters. You can create as many presets as you want and switch between them whenever.\n\n\u003ccenter\u003e\n\n![image](.github/media/presetui.png)\n\n\u003c/center\u003e\n\n## Modes\n\nA UI is included for preset management.\n\nModes enhance the prompt and preset management experience. A mode is a collection of presets and prompts. Three built-in modes are provided as examples: \"Programming\", \"Creative writing\", and \"Technical writing\", but you are encouraged to create your own.\n\nModes can have presets assigned to them. Here's why this is useful:\n\n- Your \"Programming\" mode can use your GPT-4-Turbo preset.\n- Your \"Creative writing\" mode can use your Anthropic Claude preset.\n- And so on, and so forth.\n\nSwitching between modes automatically activates the last preset used in that mode.\n\n\u003ccenter\u003e\n\n![image](.github/media/modeswitch.gif)\n\n\u003c/center\u003e\n\n# Development\n\n1. In `/webview`: `npm run dev`. This is a Svelte project that outputs to `/extension/dist`.\n2. In `/extension`: `npm run build:watch`\n3. Run the extension using the debug panel.\n\n# TODO\n\n- UI for configuring `{{language_instructions}}`.\n- Continue archived conversations.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnvms%2Fwingman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnvms%2Fwingman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnvms%2Fwingman/lists"}