fix: reduce the context window of copilot (#2350)
This commit is contained in:
@@ -251,7 +251,7 @@ M._defaults = {
|
|||||||
proxy = nil, -- [protocol://]host[:port] Use this proxy
|
proxy = nil, -- [protocol://]host[:port] Use this proxy
|
||||||
allow_insecure = false, -- Allow insecure server connections
|
allow_insecure = false, -- Allow insecure server connections
|
||||||
timeout = 30000, -- Timeout in milliseconds
|
timeout = 30000, -- Timeout in milliseconds
|
||||||
context_window = 128000, -- Number of tokens to send to the model for context
|
context_window = 64000, -- Number of tokens to send to the model for context
|
||||||
extra_request_body = {
|
extra_request_body = {
|
||||||
temperature = 0.75,
|
temperature = 0.75,
|
||||||
max_tokens = 20480,
|
max_tokens = 20480,
|
||||||
|
|||||||
Reference in New Issue
Block a user