From b3ab70c5e0a1d5fd8bb2abd7c7525253c1eda6f0 Mon Sep 17 00:00:00 2001 From: Prajna1999 Date: Tue, 17 Feb 2026 15:01:40 +0530 Subject: [PATCH 1/2] chore: add type field in the API docs for POST /config endpoint --- backend/app/api/docs/config/create.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/app/api/docs/config/create.md b/backend/app/api/docs/config/create.md index fd193024a..09beb83db 100644 --- a/backend/app/api/docs/config/create.md +++ b/backend/app/api/docs/config/create.md @@ -9,6 +9,7 @@ Configurations allow you to store and manage reusable LLM parameters * Stores provider-specific parameters as flexible JSON (config_blob) * Supports optional commit messages for tracking changes * Provider-agnostic storage - params are passed through to the provider as-is +* Supports three types of config blob types; "text", "stt" and "tts". **Example for the config blob: OpenAI Responses API with File Search -** @@ -17,6 +18,7 @@ Configurations allow you to store and manage reusable LLM parameters "config_blob": { "completion": { "provider": "openai", + "type":"text", "params": { "model": "gpt-4o-mini", "instructions": "You are a helpful assistant for farming communities...", @@ -31,4 +33,5 @@ Configurations allow you to store and manage reusable LLM parameters The configuration name must be unique within your project. Once created, you can create additional versions to track parameter changes while -maintaining the configuration history. +maintaining the configuration history. Type "stt" and "tts" only applicable for Gemini models. +Use type "text" if using OpenAI models. From 93c439b5cf4b2911c18b6b2d4b22b1b68ad23bc7 Mon Sep 17 00:00:00 2001 From: Prajna1999 Date: Thu, 19 Feb 2026 11:32:01 +0530 Subject: [PATCH 2/2] chore: update docs --- backend/app/api/docs/config/create.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/app/api/docs/config/create.md b/backend/app/api/docs/config/create.md index 09beb83db..ab0f2c258 100644 --- a/backend/app/api/docs/config/create.md +++ b/backend/app/api/docs/config/create.md @@ -33,5 +33,5 @@ Configurations allow you to store and manage reusable LLM parameters The configuration name must be unique within your project. Once created, you can create additional versions to track parameter changes while -maintaining the configuration history. Type "stt" and "tts" only applicable for Gemini models. -Use type "text" if using OpenAI models. +maintaining the configuration history. Type 'text' is applicable only for OpenAI models. +Type "stt" and "tts" are only applicable for Gemini models.