Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
bnvnvnv
code-assistant
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
code-assistant
/
model_config.example.json
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
52 lines (52 loc) · 1.45 KB
master
Breadcrumbs
code-assistant
/
model_config.example.json
Copy path
Top
File metadata and controls
Code
Blame
52 lines (52 loc) · 1.45 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"config_version": "2.1.0",
"provider": "Gemini",
"gemini": {
"api_key": "your-gemini-api-key-here",
"model": "gemini-2.0-flash",
"base_url": "https://generativelanguage.googleapis.com",
"use_proxy": false,
"available_models": [
"gemini-2.0-flash",
"gemini-2.5-pro"
]
},
"gpt": {
"api_key": "your-openai-api-key-here",
"model": "gpt-4o",
"base_url": "https://api.openai.com/v1",
"use_proxy": false,
"available_models": [
"gpt-4o",
"gpt-4o-mini"
]
},
"proxy": "http://127.0.0.1:6789",
"ui": {
"window_width": 1100,
"window_height": 800,
"window_min_width": 900,
"window_min_height": 700,
"background_opacity": 120
},
"max_screenshot_history": 10,
"prompts": [
{
"name": "代码实现助手",
"hotkey": "alt+1",
"content": "你是一个专业的代码实现助手。请分析截图中的内容,并提供相应的代码实现。\n要求:\n1. 提供可运行的代码,解释通过注释提供\n2. 代码逻辑以最佳性能实现"
},
{
"name": "技术分析专家",
"hotkey": "alt+2",
"content": "你是一个技术分析专家。请分析截图中的内容:\n1. 详细的技术分析\n2. 可能的实现方案\n3. 最佳实践建议"
}
],
"hotkeys": {
"toggle": "alt+q",
"screenshot_only": "alt+w",
"clear_screenshots": "alt+v",
"scroll_up": "alt+up",
"scroll_down": "alt+down"
}
}
You can’t perform that action at this time.