File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
gpt_code_ui/kernel_program Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ $ gptcode
31
31
You can put a .env in the working directory to load the ` OPENAI_API_KEY ` environment variable.
32
32
33
33
### Configurables
34
- Set the ` API_PORT ` and ` WEB_PORT ` variables to override the defaults.
34
+ Set the ` API_PORT ` , ` WEB_PORT ` , ` SNAKEMQ_PORT ` variables to override the defaults.
35
35
36
36
Set ` OPENAI_BASE_URL ` to change the OpenAI API endpoint that's being used (note this environment variable includes the protocol ` https://... ` ).
37
37
Original file line number Diff line number Diff line change 4
4
IDENT_KERNEL_MANAGER = "kernel_manager"
5
5
IDENT_MAIN = "main"
6
6
KERNEL_PID_DIR = "process_pids"
7
- SNAKEMQ_PORT = 8765
7
+ SNAKEMQ_PORT = int ( os . environ . get ( "SNAKEMQ_PORT" , 8765 ))
8
8
9
9
10
10
def get_logger ():
Original file line number Diff line number Diff line change 7
7
8
8
setup (
9
9
name = 'gpt_code_ui' ,
10
- version = '0.42.19 ' ,
10
+ version = '0.42.20 ' ,
11
11
description = "An Open Source version of ChatGPT Code Interpreter" ,
12
12
long_description = long_description ,
13
13
long_description_content_type = 'text/markdown' , # This field specifies the format of the `long_description`.
You can’t perform that action at this time.
0 commit comments