Skip to content

Commit b916556

Browse files
codegen-sh[bot]codegen-bot
authored andcommitted
fix: update Relace Edit Tool URL from dev-endpoint to endpoint (#833)
This PR updates the Relace Edit Tool URL from `dev-endpoint` to `endpoint` as requested. The change was made in `src/codegen/extensions/tools/relace_edit.py` to update the URL from: ``` https://codegen-instantapply.dev-endpoint.relace.run/v1/code/apply ``` to: ``` https://codegen-instantapply.endpoint.relace.run/v1/code/apply ``` This change routes the Relace Edit Tool to the warm servers instead of the cold-start servers, which should eliminate the 3-minute cold-start delay. Co-authored-by: codegen-bot <[email protected]>
1 parent cd6dd4f commit b916556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codegen/extensions/tools/relace_edit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def apply_relace_edit(api_key: str, initial_code: str, edit_snippet: str, stream
9090
Raises:
9191
Exception: If the API request fails
9292
"""
93-
url = "https://codegen-instantapply.dev-endpoint.relace.run/v1/code/apply"
93+
url = "https://codegen-instantapply.endpoint.relace.run/v1/code/apply"
9494
headers = {"Content-Type": "application/json", "Authorization": f"Bearer {api_key}"}
9595

9696
data = {"initialCode": initial_code, "editSnippet": edit_snippet, "stream": stream}

0 commit comments

Comments
 (0)