Tags: foukation/litellm
Tags
feat: add input_fidelity parameter for OpenAI image generation (Berri… …AI#12662) * feat: add input_fidelity parameter for OpenAI image generation - Add input_fidelity to OpenAIImageGenerationOptionalParams type - Update image_generation function signature to accept input_fidelity - Add input_fidelity to default_params in get_optional_params_image_gen - Include input_fidelity in openai_params list for proper handling - Update documentation with input_fidelity parameter description - Add test for input_fidelity parameter functionality This enables control over how closely the model follows the input prompt for gpt-image-1 model, improving prompt adherence and image quality. * feat: add input_fidelity to optional parameters for image generation - Include input_fidelity in the list of OpenAIImageGenerationOptionalParams - This addition enhances the flexibility of image generation by allowing control over input fidelity. * test: enhance test for gpt-image-1 with input_fidelity parameter - Update test_gpt_image_1_with_input_fidelity to include mocking of OpenAI response - Validate that the OpenAI client is called with correct parameters, including input_fidelity - Improve response validation to ensure expected output structure and values
[Bug fix] [Bug]: Verbose log is enabled by default (BerriAI#12596) * test find_set_verbose_assignments * fix set verbose * test set verbose * fix unused import
UI - Model Hub - refactor 'Make Public' to have a select + confirm fo… …rm (BerriAI#12555) * fix(model_hub_table.tsx): fix null link * fix(model_hub_table.tsx): add tooltip on disabled make public tell user how to enable button * feat(model_hub_table.tsx): make Model Hub OSS allow more teams to share available models via litellm * fix(model_hub_table_columns.tsx): make table view only model hub view, rename 'model' column to 'public model name', make model hub url copyable * fix(page.tsx): fix logo re-rendering * fix(public_model_hub.tsx): fix theme * style(public_model_hub.tsx): move filters into same card as model table filters are for table * fix(page.tsx): fix ui linting error * refactor(model_hub_table.tsx): refactor public model selection to inside the 'make public' button - modal similar flow to adding guardrails consistent flow for doing stuff on the proxy * style(ui/): make 'make public' modal wider, to have all filters on same horizontal axis * style(model_hub_table.tsx): have already public models be pre-selected * fix(model_hub_table.tsx): ensure only admin can make models public via UI * fix: fix linting errors * fix(model_hub_table.tsx): make model hub purpose clearer * fix(model_hub_table_columns.tsx): fix linting error
Resolve model group alias on Auth + `/v1/messages` Fallback support (B… …erriAI#12440) * fix(auth_checks.py): resolve a model group alias when key has access to underlying model Fixes LIT-293 * feat(anthropic/): add mock_response to anthropic /v1/messages makes it easy to test fallback logic * fix(router.py): support fallbacks on /v1/messages adds working fallbacks on generic api route * refactor(router.py): point _ageneric_api_call_with_fallbacks to updated function * test: add unit test for new helper on router * fix(router.py): use correct metadata variable name * fix(router.py): use correct metadata field * docs(config_settings.md): document new param
PreviousNext