Skip to content

Conversation

@JoeGaffney
Copy link
Owner

No description provided.

@JoeGaffney JoeGaffney requested a review from Copilot November 9, 2025 21:18
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the schema system to unify model metadata management across images, texts, and videos. Key changes include:

  • Consolidation of separate local/external model metadata into unified MODEL_META dictionaries
  • Replacement of message-based text API with simpler prompt/system_prompt fields
  • Addition of model capability validation using @model_validator decorators
  • New model listing endpoints for all resource types
  • Implementation of MCP server and agentic layer with Gradio UI
  • Docker Compose updates to add MCP and agentic services

Reviewed Changes

Copilot reviewed 47 out of 47 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
workers/videos/schemas.py Unified video model metadata with capability validation and inferred mode detection
workers/texts/schemas.py Simplified text API interface (prompt/system_prompt instead of messages)
workers/images/schemas.py Added capability validation and inferred mode detection for images
workers/texts/models/qwen.py Updated to use new prompt/system_prompt structure
workers/texts/external_models/openai.py Updated to use new text request structure
api/*/router.py Added model listing endpoints for images, texts, and videos
docker-compose.yml Added mcp and agentic services
agentic/* New agentic orchestration layer with Gradio UI
Comments suppressed due to low confidence (1)

workers/texts/external_models/openai.py:13

  • GPT-5 does not exist as of January 2025. This model mapping references a non-existent model version. Consider removing this entry or updating it to a valid OpenAI model.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@JoeGaffney JoeGaffney changed the title 2025 11 06 feature: unify model metadata management - MCP server Nov 10, 2025
@JoeGaffney JoeGaffney merged commit 6024cb6 into main Nov 10, 2025
1 check passed
@JoeGaffney JoeGaffney deleted the 2025-11-06 branch November 15, 2025 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants