Skip to content

Conversation

srinarayan-srikanthan
Copy link
Collaborator

Description

Dynamic model switching enabled.

Issues

#2209

Type of change

List the type of change like below. Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds new functionality)
  • Breaking change (fix or feature that would break existing design and interface)
  • Others (enhancement, documentation, validation, etc.)

Dependencies

NA

Tests

NA

Signed-off-by: Ubuntu <azureuser@denvr-inf.kifxisxbiwme5gt4kkwqsfdjuh.dx.internal.cloudapp.net>
@Copilot Copilot AI review requested due to automatic review settings August 20, 2025 01:14
@srinarayan-srikanthan srinarayan-srikanthan self-assigned this Aug 20, 2025
Copy link

github-actions bot commented Aug 20, 2025

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Files

None

Copy link
Contributor

@Copilot 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 enables dynamic model switching functionality across CodeGen and ChatQnA services. The changes modify how model identifiers are passed through the request pipeline, allowing clients to specify which model to use rather than being hardcoded to default values.

Key changes:

  • Modified model assignment in input alignment to use dynamic model from request instead of hardcoded constants
  • Updated request handling to pass model parameter with proper fallback to default values

Reviewed Changes

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

File Description
CodeGen/codegen.py Updates model assignment to use dynamic input and adds model parameter to request handling with fallback
ChatQnA/chatqna.py Similar dynamic model assignment changes and fallback logic for request processing

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@CICD-at-OPEA
Copy link
Collaborator

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

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