Skip to content

[Bug]: [AI Workspace] [Bottom Up Sync] Read only mode LLM Provider model list update #2461

Description

@Thushani-Jayasekera

Please select the area the issue is related to

Area/Management (Management API or Management Portal UI), Area/Other (Anything else which does not match above categories)

Please select the aspect the issue is related to

Aspect/API (API backends, definitions, contracts, interfaces, OpenAPI), Aspect/UI (Frontend layouts, components, styling)

Description

1. Set model list for LLM Providers
Image

$subject

The model provider is always set to null for providers created in DP side.
The UI allows to update model list
The update is reflected in platform api db - model list column
However, a gateway event was not made and looks like we do not have any support in gateway side to set models for the llm provider.

INSERT INTO public.llm_providers (uuid,handle,display_name,"version",description,template_uuid,openapi_spec,model_list,"configuration",data_version,origin,created_by,created_at,updated_by,updated_at,organization_uuid) VALUES
	 ('019f3615-15d2-7e0e-9aff-4c7a057e5364','my-llm-provider4','WSO2 My LLM Provider4','v1.0','','019f3614-ab9e-77f5-ae57-20c5633cdaab',decode('','hex'),decode('5B7B226964223A226F70656E6169222C226E616D65223A224F70656E4149222C226D6F64656C73223A5B7B226964223A226770742D342E312D6D696E69222C226E616D65223A226770742D342E312D6D696E69227D2C7B226964223A226F342D6D696E69222C226E616D65223A226F342D6D696E69227D5D7D5D','hex'),decode('7B226E616D65223A2257534F32204D79204C4C4D2050726F766964657234222C2276657273696F6E223A2276312E30222C2276686F7374223A226C6F63616C686F73743A39303930222C2274656D706C617465223A226D792D6C6C6D2D70726F76696465722D74656D706C61746533222C22757073747265616D223A7B226D61696E223A7B2275726C223A2268747470733A2F2F6874747062696E2E6F72672F616E797468696E672F7631222C2261757468223A7B2274797065223A226170692D6B6579222C22686561646572223A22417574686F72697A6174696F6E222C2276616C7565223A226170695F6B65795F616263313233227D7D7D2C22616363657373436F6E74726F6C223A7B226D6F6465223A2264656E795F616C6C222C22657863657074696F6E73223A5B7B2270617468223A222F636861742F636F6D706C6574696F6E73222C226D6574686F6473223A5B22504F5354225D7D2C7B2270617468223A222F6D6F64656C73222C226D6574686F6473223A5B22474554225D7D2C7B2270617468223A222F6D6F64656C732F7B6D6F64656C49647D222C226D6574686F6473223A5B22474554225D7D5D7D7D','hex'),'1.0','gateway_api','','2026-07-06 11:49:39.346','0e4c2022-2a36-4194-b98c-f5bfbe7a785f','2026-07-06 12:10:47.520','019f360d-d36c-7cf2-b28b-cb47c15cd960');

Steps to Reproduce

as above

Severity Level of the Issue

Severity/Major (Important functionality is broken. Should be prioritized. Doesn't need immediate attention)

Environment Details (with versions)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area/ManagementAny issues related to Management API or Management Portal UIArea/OtherIssues that doesn't fall into any defined categoryAspect/APIAPI definitions, contracts, OpenAPI, interfacesAspect/UIFrontend, visual layouts, components, stylingSeverity/MajorType/Bug

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions