mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-03 02:22:24 +00:00
fix(claude-code): qualify marketplace entry as read only
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
7415cd3ff3
commit
bff08db638
1 changed files with 2 additions and 1 deletions
|
|
@ -26,6 +26,7 @@ from urllib.parse import urlsplit
|
|||
|
||||
from fastapi import APIRouter, Depends, HTTPException, Request
|
||||
from fastapi.responses import JSONResponse
|
||||
from typing_extensions import ReadOnly
|
||||
|
||||
from litellm._logging import verbose_proxy_logger
|
||||
from litellm.proxy._types import CommonProxyErrors, ProxyException, UserAPIKeyAuth
|
||||
|
|
@ -70,7 +71,7 @@ class _MarketplaceEntry(TypedDict, total=False):
|
|||
homepage: object
|
||||
keywords: object
|
||||
category: object
|
||||
installationPreference: str
|
||||
installationPreference: ReadOnly[str]
|
||||
|
||||
|
||||
def _get_manifest_string(manifest: Mapping[str, object], key: str) -> str | None:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue