refactor: remove options in Agent

wsxiaoys-patch-1
Meng Zhang 2023-10-09 10:37:52 -07:00 committed by GitHub
parent 41e48dc119
commit c80e773c60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 12 deletions

View File

@ -75,28 +75,16 @@ const configTomlTemplate = `## Tabby agent configuration file
## You can set the server endpoint and request timeout here. ## You can set the server endpoint and request timeout here.
# [server] # [server]
# endpoint = "http://localhost:8080" # http or https URL # endpoint = "http://localhost:8080" # http or https URL
# requestTimeout = 30000 # ms
## You can add custom request headers, e.g. for authentication. ## You can add custom request headers, e.g. for authentication.
# [server.requestHeaders] # [server.requestHeaders]
# Authorization = "Bearer eyJhbGciOiJ..........." # Authorization = "Bearer eyJhbGciOiJ..........."
## Completion
## You can set the prompt context to send to the server for completion.
# [completion.prompt]
# maxPrefixLines = 20
# maxSuffixLines = 20
## You can set the debounce mode for auto completion requests when typing. ## You can set the debounce mode for auto completion requests when typing.
# [completion.debounce] # [completion.debounce]
# mode = "adaptive" # or "fixed" # mode = "adaptive" # or "fixed"
# interval = 250 # ms, only used when mode is "fixed" # interval = 250 # ms, only used when mode is "fixed"
## You can set the timeout for completion requests.
# [completion.timeout]
# auto = 5000 # ms, for auto completion when typing
# manually = 30000 # ms, for manually triggered completion
## Logs ## Logs
## You can set the log level here. The log file is located at ~/.tabby-client/agent/logs/. ## You can set the log level here. The log file is located at ~/.tabby-client/agent/logs/.
# [logs] # [logs]