Restart stale Codex bridge when installing compression settings
This commit is contained in:
1 parent
dfa762bcd2
commit
a68d3e2272
3 files changed
+3
-3
No files matched your search
@@ -34,7 +34,7 @@ import urllib.request
|
|||||||
import gecis_context
|
import gecis_context
|
||||||
|
|
||||||
HERE = os.path.dirname(os.path.abspath(__file__))
|
HERE = os.path.dirname(os.path.abspath(__file__))
|
||||||
SURUM = "12" # AITURK IDE'nin bekledigi kopru surumu (codex-link-config.ts CODEX_BRIDGE_VERSION)
|
SURUM = "13" # AITURK IDE'nin bekledigi kopru surumu (codex-link-config.ts CODEX_BRIDGE_VERSION)
|
||||||
try:
|
try:
|
||||||
with open(os.path.abspath(__file__), "rb") as _f:
|
with open(os.path.abspath(__file__), "rb") as _f:
|
||||||
KOD = hashlib.sha256(_f.read()).hexdigest()[:8]
|
KOD = hashlib.sha256(_f.read()).hexdigest()[:8]
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ from bekci_watch import MetadataFilter
|
|||||||
# Installed only by owned native launcher, never an HTTP control endpoint.
|
# Installed only by owned native launcher, never an HTTP control endpoint.
|
||||||
WATCH_OWNER = None
|
WATCH_OWNER = None
|
||||||
|
|
||||||
SURUM = "12"
|
SURUM = "13"
|
||||||
HERE = os.path.dirname(os.path.abspath(__file__))
|
HERE = os.path.dirname(os.path.abspath(__file__))
|
||||||
try:
|
try:
|
||||||
with open(os.path.abspath(__file__), "rb") as _f:
|
with open(os.path.abspath(__file__), "rb") as _f:
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ export const CODEX_LINK_REFRESH_URL = `${CODEX_LINK_ORIGIN}/aiturk/codex-baglama
|
|||||||
export const CODEX_LINK_MARKER = '# AITURK IDE Codex Baglama'
|
export const CODEX_LINK_MARKER = '# AITURK IDE Codex Baglama'
|
||||||
// Must equal SURUM in assets/codex-bridge/bridge.py; a running bridge that reports
|
// Must equal SURUM in assets/codex-bridge/bridge.py; a running bridge that reports
|
||||||
// another version is restarted so an updated IDE never keeps an old bridge alive.
|
// another version is restarted so an updated IDE never keeps an old bridge alive.
|
||||||
export const CODEX_BRIDGE_VERSION = '12'
|
export const CODEX_BRIDGE_VERSION = '13'
|
||||||
export const CODEX_LINK_LINE = `openai_base_url = "${CODEX_LINK_ORIGIN}/backend-api/codex" ${CODEX_LINK_MARKER}`
|
export const CODEX_LINK_LINE = `openai_base_url = "${CODEX_LINK_ORIGIN}/backend-api/codex" ${CODEX_LINK_MARKER}`
|
||||||
|
|
||||||
export const CODEX_LINK_RUN_KEY = 'HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run'
|
export const CODEX_LINK_RUN_KEY = 'HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run'
|
||||||
|
|||||||
Reference in new issue
Block a user