feat(deepinfra): update model YAMLs [bot]#1718
Open
models-bot[bot] wants to merge 1 commit into
Open
Conversation
Contributor
|
/test-models |
Collaborator
Gateway test results
Failures (1)
ErrorCode snippetfrom openai import OpenAI
client = OpenAI(api_key="***", base_url="https://internal.devtest.truefoundry.tech/api/llm")
response = client.chat.completions.create(
model="test-v2-deepinfra/deepseek-ai-DeepSeek-V4-Flash",
messages=[
{"role": "user", "content": "List 3 colors with their hex codes in JSON."},
],
response_format={"type": "json_object"},
stream=True,
)
import json as _json
_accumulated = ""
for chunk in response:
if chunk.choices and len(chunk.choices) > 0:
delta = chunk.choices[0].delta
if delta.content is not None:
_accumulated += delta.content
print(delta.content, end="", flush=True)
if not _accumulated:
raise Exception("VALIDATION FAILED: json-output stream - no content received")
_json.loads(_accumulated)
print("\nVALIDATION: json-output stream SUCCESS")Successes (7)
Output
Output
Output
Output
Output
Output
OutputSkipped (1)
Skip reason |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Auto-generated by poc-agent for provider
deepinfra.Note
Low Risk
Metadata-only provider YAML changes (costs, modalities, params, status) with no application logic changes.
Overview
Updates two DeepInfra provider model YAMLs to match current catalog metadata.
FastVideo/LTX-2.3-Distilled-Diffusers now lists audio as an output modality alongside video, consistent with other LTX video models on DeepInfra.
deepseek-ai/DeepSeek-V4-Flash lowers per-token pricing (input, output, and cache-read), adds a
reasoning_effortparam (none/high/xhigh, defaulthigh), and changesstatusfromactivetopreview.Reviewed by Cursor Bugbot for commit c4eba5e. Bugbot is set up for automated code reviews on this repo. Configure here.