Merged
Conversation
Owner
Author
|
Before merging needs updating of .env file on server to reflect context-window entries. |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds “context window” metadata to the app’s LLM model signature and exposes it in the UI, plus makes the LLM signature badge link out to the Azure AI model catalog.
Changes:
- Parse a new
context-windowAzure model tag and expose it ascontext_windowon model entries. - Include
context_windowinllm_signature/LLM preference JSON payloads for UI display. - Update the offcanvas LLM signature badge to be a clickable link and show context window in the tooltip.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
myocyte/toxtempass/views.py |
Adds context_window to the LLM signature returned by set_llm_preference. |
myocyte/toxtempass/templates/toxtempass/base_extras/user_offcanvas.html |
Makes the signature badge an external link to Azure catalog; shows context window in tooltip; updates JS tooltip content/href. |
myocyte/toxtempass/context_processors.py |
Adds context_window to the llm_signature dict injected into templates. |
myocyte/toxtempass/azure_registry.py |
Allowlists context-window tag and adds ModelEntry.context_window parser. |
.env.dummy |
Demonstrates context-window tag usage for a model. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.
No description provided.