File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed
ide-plugins/src/main/kotlin/com/picocode Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ PicoCode provides a production-ready local RAG (Retrieval-Augmented Generation)
99## Base URL
1010
1111```
12- http://127.0.0.1:8000 /api
12+ http://127.0.0.1:8080 /api
1313```
1414
1515## Authentication
@@ -299,7 +299,7 @@ CODING_MODEL=gpt-4o
299299
300300# Server configuration
301301UVICORN_HOST=127.0.0.1
302- UVICORN_PORT=8000
302+ UVICORN_PORT=8080
303303
304304# File processing
305305MAX_FILE_SIZE=200000
@@ -313,7 +313,7 @@ MAX_FILE_SIZE=200000
313313import requests
314314
315315class PicoCodeClient :
316- def __init__ (self , base_url = " http://127.0.0.1:8000 /api" ):
316+ def __init__ (self , base_url = " http://127.0.0.1:8080 /api" ):
317317 self .base_url = base_url
318318
319319 def create_project (self , path , name = None ):
@@ -404,8 +404,8 @@ print(suggestion["response"])
404404
405405PicoCode provides interactive API documentation:
406406
407- - ** Swagger UI** : http://127.0.0.1:8000 /docs
408- - ** ReDoc** : http://127.0.0.1:8000 /redoc
407+ - ** Swagger UI** : http://127.0.0.1:8080 /docs
408+ - ** ReDoc** : http://127.0.0.1:8080 /redoc
409409
410410These interfaces allow you to:
411411- Browse all endpoints
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ class PicoCodeConfigurable(private val project: Project) : Configurable {
5353 val state = settings.state
5454
5555 state.serverHost = hostField.text.trim().ifEmpty { " localhost" }
56- state.serverPort = portField.text.trim().toIntOrNull() ? : 8000
56+ state.serverPort = portField.text.trim().toIntOrNull() ? : 8080
5757
5858 settings.loadState(state)
5959 }
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class PicoCodeSettings : PersistentStateComponent<PicoCodeSettings.SettingsState
2020
2121 data class SettingsState (
2222 var serverHost : String = " localhost" ,
23- var serverPort : Int = 8000
23+ var serverPort : Int = 8080
2424 )
2525
2626 private var state = SettingsState ()
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ async def lifespan(app: FastAPI):
178178 uvicorn .run (
179179 "main:app" ,
180180 host = CFG .get ("uvicorn_host" , "127.0.0.1" ),
181- port = int (CFG .get ("uvicorn_port" , 8000 )),
181+ port = int (CFG .get ("uvicorn_port" , 8080 )),
182182 reload = True ,
183183 access_log = False # Hide access logs
184184 )
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ def _bool_env(name, default):
3636
3737 # uvicorn host/port (from .env)
3838 "uvicorn_host" : os .getenv ("UVICORN_HOST" , "127.0.0.1" ),
39- "uvicorn_port" : int (os .getenv ("UVICORN_PORT" , "8000 " )),
39+ "uvicorn_port" : int (os .getenv ("UVICORN_PORT" , "8080 " )),
4040
4141 # FileWatcher configuration
4242 "file_watcher_enabled" : _bool_env ("FILE_WATCHER_ENABLED" , True ),
You can’t perform that action at this time.
0 commit comments