feat: narrow model settings and tool server access; release 0.1.0-dev.4 #5
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/narrow-model-and-tool-access"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two narrow resources for what john/ai still writes from Python (owui_models.py, owui_tools.py).
openwebui_model_settings — selected fields of one model record:
name,description,profile_image_url,hidden,tool_ids,reasoning_effort,compact_token_threshold,read_access/write_access.public,group:<name>,user:<email>, orgroup-id:/user-id:— an unknown or ambiguous name fails the plan. Access has its own endpoint and is only written when it differs.openwebui_tool_server_access —
enabledandread_accessof one existing MCP connection (byinfo.id).urlandauth_typeare checked, never written. Key, headers and OAuth registration never enter state.Live check against ai.yawn.dev with a dev build: import plan for the 18 john/ai models and 4 tool servers = 22 to import, 0 to change, no secret material in the plan. Tests cover import no-op, image re-spelling, preserved fields, omitted attributes, bad labels/images, dropped image, create, secrets not in state, URL/auth mismatch, lost sign-in. check.sh passes. VERSION 0.1.0-dev.4.