Configuring custom language models. #34215
ushankax
started this conversation in
Feature Requests
Replies: 1 comment
-
|
I'm trying to figure this out too. FWIW, here's the backing struct for the JSON Object there: . Full populated, an example would look something like: "openai_compatible": {
"my_provider": {
"api_url": "https://my_provider.com",
"available_models": [
{
"name": "cool-model",
"display_name": "Cool Model",
"max_tokens": 128000,
"max_output_tokens": 64000,
"max_completion_tokens": 64000,
"capabilities": {
"tools": true,
"images": true,
"parallel_tool_calls": true,
"prompt_cache_key": true,
"chat_completions": true,
},
},
],
},
},Doesn't look like there's room for request options--not at that level of the config at least. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I'm trying to configure custom language model. In VSCode's Continue extension I do it like this:
apiBase is like api_url in your config, but what about requestOptions? It's required to my model. https://docs.continue.dev/customize/json-reference#models - more about Continue's properties.
How to configure like this in Zed?
Beta Was this translation helpful? Give feedback.
All reactions