Allow using Zeta through an arbitrary OpenAI-compatible self-hosted API#49554
Allow using Zeta through an arbitrary OpenAI-compatible self-hosted API#49554maxbrunsfeld merged 13 commits intomainfrom
Conversation
Co-authored-by: Ben Kunkle <ben@zed.dev>
Co-authored-by: Ben Kunkle <ben@zed.dev>
269833a to
bf0e63d
Compare
Co-authored-by: Ben Kunkle <ben@zed.dev>
Allow using Zeta through an arbitrary OpenAI-compatible self-hosted API Auto-generated documentation suggestions for review at next preview release.
Auto-applied queued documentation suggestions from: - PR #48908 - PR #48909 - PR #48910 - PR #48912 - PR #48930 - PR #44794 - PR #48763 - PR #45073 - PR #48495 - PR #49374 - PR #49139 - PR #48780 - PR #48619 - PR #48978 - PR #48962 - PR #48988 - PR #47860 - PR #49015 - PR #47095 - PR #47475 - PR #48542 - PR #46766 - PR #47754 - PR #48807 - PR #44506 - PR #49051 - PR #49069 - PR #48842 - PR #48851 - PR #48736 - PR #47673 - PR #49094 - PR #49098 - PR #49622 - PR #49554 - PR #49710 - PR #49716 - PR #49732 - PR #49788 - PR #49876 - PR #49902 - PR #49910 - PR #49390 - PR #50027 Generated with script/docs-suggest-publish for human review in draft PR.
Auto-applied documentation from: - PR #47673: Bedrock image support - PR #49098: Agent max tokens error messaging - PR #49622: Gemini 3.1 Pro model - PR #49554: OpenAI-compatible edit prediction - PR #49710: Git diff review button - PR #49732: Subagent tool updates - PR #49788: ETW profiling on Windows Skipped (no target file/self-explanatory): - PR #49094: Add project to workspace button
Auto-applied queued documentation suggestions from: - PR #48908 - PR #48909 - PR #48910 - PR #48912 - PR #48930 - PR #44794 - PR #48763 - PR #45073 - PR #48495 - PR #49374 - PR #49139 - PR #48780 - PR #48619 - PR #48978 - PR #48962 - PR #48988 - PR #47860 - PR #49015 - PR #47095 - PR #47475 - PR #48542 - PR #46766 - PR #47754 - PR #48807 - PR #44506 - PR #49051 - PR #49069 - PR #48842 - PR #48851 - PR #48736 - PR #47673 - PR #49094 - PR #49098 - PR #49622 - PR #49554 - PR #49710 - PR #49716 - PR #49732 - PR #49788 - PR #49876 - PR #49902 - PR #49910 - PR #49390 - PR #50027 Generated with script/docs-suggest-publish for human review in draft PR.
Auto-applied documentation from: - PR #47673: Bedrock image support - PR #49098: Agent max tokens error messaging - PR #49622: Gemini 3.1 Pro model - PR #49554: OpenAI-compatible edit prediction - PR #49710: Git diff review button - PR #49732: Subagent tool updates - PR #49788: ETW profiling on Windows Skipped (no target file/self-explanatory): - PR #49094: Add project to workspace button
…PI (#49554) Release Notes: - Added the ability to use a self-hosted OpenAI-compatible server for edit predictions. --------- Co-authored-by: Ben Kunkle <ben@zed.dev> Co-authored-by: Zed Zippy <234243425+zed-zippy[bot]@users.noreply.github.com>
|
@maxbrunsfeld Hello Max. Is there a way to set an API key for our OpenAI-compatible servers? |
|
Any example usage? 'cause when I set it in the settings from the UI, it doesn't work, but I'm hoping it would work if I set it in the JSON. |
|
For anyone else trying this out. This is what worked for me: The json: "edit_predictions": {
"mode": "subtle",
"open_ai_compatible_api": {
"model": "qwen-3.5",
"prompt_format": "qwen",
"max_output_tokens": 200,
"api_url": "http://localhost:1234/v1/completions",
},
"provider": "open_ai_compatible_api",
},I guess you still need to set the api key in the settings if not local. |
|
@Muzosh Yes, you can set the API key in the settings UI. Navigate to
|
|
Invalid on macOS, even with various URL settings. |

Closes #49346
Release Notes: