🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
docs: improve api reference for llm-connections api (#8327)
Marc Klingena1dd5b22a2a0
diff --git a/fern/apis/server/definition/llm-connections.yml b/fern/apis/server/definition/llm-connections.ymlindex d9eeaf447e..b74a4df22b 100644--- a/fern/apis/server/definition/llm-connections.yml+++ b/fern/apis/server/definition/llm-connections.yml@@ -22,7 +22,7 @@ service:response: PaginatedLlmConnectionsupsert:method: PUT- docs: Create or update an LLM connection (upsert)+ docs: Create or update an LLM connection. The connection is upserted on provider.path: /llm-connectionsrequest: UpsertLlmConnectionRequestresponse: LlmConnection@@ -34,7 +34,7 @@ types:id: stringprovider:type: string- docs: Provider name (e.g., 'openai', 'anthropic')+ docs: Provider name (e.g., 'openai', 'my-gateway'). Must be unique in project, used for upserting.adapter:type: stringdocs: The adapter used to interface with the LLM@@ -66,7 +66,7 @@ types:properties:provider:type: string- docs: Provider name (e.g., 'openai', 'anthropic'). Must be unique in project.+ docs: Provider name (e.g., 'openai', 'my-gateway'). Must be unique in project, used for upserting.adapter:type: LlmAdapterdocs: The adapter used to interface with the LLMdiff --git a/web/public/generated/api/openapi.yml b/web/public/generated/api/openapi.ymlindex bcfcc73028..fbab937cd4 100644--- a/web/public/generated/api/openapi.yml+++ b/web/public/generated/api/openapi.yml@@ -1477,7 +1477,9 @@ paths:security:- BasicAuth: []put:- description: Create or update an LLM connection (upsert)+ description: >-+ Create or update an LLM connection. The connection is upserted on+ provider.operationId: llmConnections_upserttags:- LlmConnections@@ -6335,7 +6337,9 @@ components:type: stringprovider:type: string- description: Provider name (e.g., 'openai', 'anthropic')+ description: >-+ Provider name (e.g., 'openai', 'my-gateway'). Must be unique in+ project, used for upserting.adapter:type: stringdescription: The adapter used to interface with the LLM@@ -6397,13 +6401,15 @@ components:properties:provider:type: string- description: Provider name (e.g., 'openai', 'anthropic')+ description: >-+ Provider name (e.g., 'openai', 'my-gateway'). Must be unique in+ project, used for upserting.adapter:$ref: '#/components/schemas/LlmAdapter'description: The adapter used to interface with the LLMsecretKey:type: string- description: Secret key for the LLM API+ description: Secret key for the LLM API.baseURL:type: stringnullable: true@@ -6417,16 +6423,13 @@ components:withDefaultModels:type: booleannullable: true- description: Whether to include default models+ description: Whether to include default models. Default is true.extraHeaders:type: objectadditionalProperties:type: stringnullable: truedescription: Extra headers to send with requests- config:- nullable: true- description: Additional configuration specific to the adapterrequired:- provider- adapterdiff --git a/web/public/generated/postman/collection.json b/web/public/generated/postman/collection.jsonindex 0766a5f810..88159c972f 100644--- a/web/public/generated/postman/collection.json+++ b/web/public/generated/postman/collection.json@@ -1174,7 +1174,7 @@"_type": "endpoint","name": "Upsert","request": {- "description": "Create or update an LLM connection (upsert)",+ "description": "Create or update an LLM connection. The connection is upserted on provider.","url": {"raw": "{{baseUrl}}/api/public/llm-connections","host": [@@ -1193,7 +1193,7 @@"auth": null,"body": {"mode": "raw",- "raw": "{\n \"provider\": \"example\",\n \"adapter\": \"anthropic\",\n \"secretKey\": \"example\",\n \"baseURL\": \"example\",\n \"customModels\": [\n \"example\"\n ],\n \"withDefaultModels\": true,\n \"extraHeaders\": {\n \"example\": \"example\"\n },\n \"config\": \"UNKNOWN\"\n}",+ "raw": "{\n \"provider\": \"example\",\n \"adapter\": \"anthropic\",\n \"secretKey\": \"example\",\n \"baseURL\": \"example\",\n \"customModels\": [\n \"example\"\n ],\n \"withDefaultModels\": true,\n \"extraHeaders\": {\n \"example\": \"example\"\n }\n}","options": {"raw": {"language": "json"