File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,4 +20,4 @@ EXPOSE 4141
2020ARG GH_TOKEN
2121ENV GH_TOKEN=$GH_TOKEN
2222
23- CMD bun run dist/main.js start -g $GH_TOKEN --vision
23+ CMD bun run dist/main.js start -g $GH_TOKEN
Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ The following command line options are available for the `start` command:
8282| --rate-limit | Rate limit in seconds between requests | none | -r |
8383| --wait | Wait instead of error when rate limit is hit | false | -w |
8484| --github-token | Provide GitHub token directly (must be generated using the ` auth ` subcommand) | none | -g |
85- | --vision | Enable vision capabilities | false | none |
8685
8786### Auth Command Options
8887
@@ -116,9 +115,6 @@ npx copilot-api@latest start --rate-limit 30 --wait
116115# Provide GitHub token directly
117116npx copilot-api@latest start --github-token ghp_YOUR_TOKEN_HERE
118117
119- # Enable vision capabilities
120- npx copilot-api@latest start --vision
121-
122118# Run only the auth flow
123119npx copilot-api@latest auth
124120
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ export interface State {
1010
1111 manualApprove : boolean
1212 rateLimitWait : boolean
13- visionEnabled : boolean
1413
1514 // Rate limiting configuration
1615 rateLimitSeconds ?: number
@@ -21,5 +20,4 @@ export const state: State = {
2120 accountType : "individual" ,
2221 manualApprove : false ,
2322 rateLimitWait : false ,
24- visionEnabled : false ,
2523}
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ interface RunServerOptions {
2020 rateLimit ? : number
2121 rateLimitWait: boolean
2222 githubToken ? : string
23- visionEnabled: boolean
2423}
2524
2625export async function runServer ( options : RunServerOptions ) : Promise < void > {
@@ -37,11 +36,6 @@ export async function runServer(options: RunServerOptions): Promise<void> {
3736 state . manualApprove = options . manual
3837 state . rateLimitSeconds = options . rateLimit
3938 state . rateLimitWait = options . rateLimitWait
40- state . visionEnabled = options . visionEnabled
41-
42- if ( options . visionEnabled ) {
43- consola . info ( "Vision capability enabled" )
44- }
4539
4640 await ensurePaths ( )
4741 await cacheVSCodeVersion ( )
@@ -111,12 +105,6 @@ const start = defineCommand({
111105 description :
112106 "Provide GitHub token directly (must be generated using the `auth` subcommand)" ,
113107 } ,
114- vision : {
115- type : "boolean" ,
116- default : false ,
117- description : "Enable vision capabilities" ,
118- required : false ,
119- } ,
120108 } ,
121109 run ( { args } ) {
122110 const rateLimitRaw = args [ "rate-limit" ]
@@ -134,7 +122,6 @@ const start = defineCommand({
134122 rateLimit,
135123 rateLimitWait : Boolean ( args . wait ) ,
136124 githubToken : args [ "github-token" ] ,
137- visionEnabled : args . vision ,
138125 } )
139126 } ,
140127} )
You can’t perform that action at this time.
0 commit comments