mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
* feat: add v0 provider support to LiteLLM - Add v0 as a new OpenAI-compatible provider - Support all three v0 models: v0-1.0-md, v0-1.5-md, v0-1.5-lg - Configure correct token limits and pricing for each model - Enable vision support for all v0 models (multimodal) - Add provider detection for v0/ prefix and api.v0.dev endpoint - Include comprehensive unit tests for the provider The v0 provider uses the standard OpenAI-compatible implementation and supports all standard features including streaming, function calling, and system messages. * fix: add v0 provider to ProviderConfigManager Add V0ChatConfig to the get_provider_chat_config method to fix test_supports_tool_choice test failure. The v0 provider needs to be included in the provider config manager to return the correct configuration for tool choice support detection. * docs: add documentation for v0 provider - Add comprehensive v0 provider documentation - Cover all supported models and their capabilities - Include examples for SDK usage, proxy configuration, and all features - Document supported OpenAI parameters based on v0 API docs - Add v0 to the providers sidebar navigation * fix: correct v0 supported OpenAI parameters Based on review feedback and v0 API documentation: - v0 only supports: messages, model, stream, tools, tool_choice - Remove unsupported parameters like temperature, max_tokens, etc. - Update tests to verify correct parameter set - Update documentation to reflect actual API capabilities - Remove JSON mode example as response_format is not supported Reference: https://v0.dev/docs/v0-model-api#request-body * fix: remove supports_response_schema from v0 models Remove the supports_response_schema property from all v0 models in the model configuration files as v0 does not support this feature. Models updated: - v0/v0-1.0-md - v0/v0-1.5-md - v0/v0-1.5-lg |
||
|---|---|---|
| .. | ||
| docs | ||
| img | ||
| release_notes | ||
| src | ||
| static | ||
| .gitignore | ||
| babel.config.js | ||
| Dockerfile | ||
| docusaurus.config.js | ||
| index.md | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| sidebars.js | ||
Website
This website is built using Docusaurus 2, a modern static website generator.
Installation
$ yarn
Local Development
$ yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Build
$ yarn build
This command generates static content into the build directory and can be served using any static contents hosting service.
Deployment
Using SSH:
$ USE_SSH=true yarn deploy
Not using SSH:
$ GIT_USER=<Your GitHub username> yarn deploy
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.