Skip to content

Conversation

@ZhangEnYao
Copy link
Contributor

…ection

@gemini-code-assist
Copy link

Summary of Changes

Hello @ZhangEnYao, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request expands the documentation for managing AI/ML models within the OtterScale cluster. It updates the existing 'Models' page to reflect a broader scope beyond just LLMs and introduces a dedicated section for managing model artifacts, providing comprehensive guidance on their lifecycle from creation to deletion.

Highlights

  • Revised Models Documentation: The existing Models documentation has been significantly updated to broaden its scope from solely Large Language Models (LLMs) to general AI/ML models and their artifacts. This includes a revised overview, updated table columns reflecting new model properties, and the removal of LLM-specific monitoring metrics.
  • New Model Artifact Management Section: A new documentation page, Model Artifact, has been added to detail the management of model files and weights. This section covers how to view, create, and delete model artifacts, including specific configuration steps for creation and a warning for deletion.
  • Enhanced Model Management Actions: The Manage Models section has been refined with more detailed steps for creating, updating, and deleting models, now utilizing the <Steps> component for clarity. A new 'Pods Table' section has also been introduced to provide detailed pod-level information for deployed models.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@iasthc iasthc merged commit bc601fc into main Dec 28, 2025
1 check passed
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request significantly revises the documentation for the "Models" page and adds a new page for "Model Artifacts". The updates provide more detailed and structured information, which is a great improvement. My review includes suggestions to enhance clarity on a few potentially confusing table column descriptions and to correct minor formatting inconsistencies for better readability. Overall, these are good changes to improve the project's documentation.

Comment on lines +18 to +19
| **Name** | The name of the model. |
| **Model Name** | The unique identifier of the model (modelName/id). |

Choose a reason for hiding this comment

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

medium

The distinction between Name and Model Name is unclear. Name is described as "The name of the model," while Model Name is "The unique identifier of the model (modelName/id)." This could be confusing for users. Please clarify the difference. For example, is Name a user-friendly display name, while Model Name is the technical identifier used by the system? Providing a more distinct description and an example would be helpful.

| **Name**           | A user-friendly display name for the model.                                                                  |
| **Model Name**     | The unique technical identifier of the model (e.g., `llama3-8b-instruct`).                                   |

Comment on lines 31 to 33

The dashboard integrates with Prometheus to provide real-time metrics for each model:

- **GPU & KV Cache**: Monitor these percentages to ensure your models are not running out of memory context, which could degrade performance or cause errors.
- **Latency Metrics**: Track "Requests" and "Time to First Token" to ensure the models are responsive and meeting service level objectives (SLOs).

Choose a reason for hiding this comment

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

medium

There are several formatting inconsistencies in the file:

  • Multiple consecutive blank lines are used here and on lines 52-53. A single blank line is sufficient for separating sections and improves source readability.
  • Line 37 contains trailing whitespace (...if available. ). This should be removed if a hard line break is not intended.

Please clean up these minor formatting issues to improve the document's consistency.

| **Ready** | Number of ready containers vs total containers. |
| **Restarts** | Number of times containers in the pod have restarted. |
| **Conditions** | The most recent condition or error status for the pod. |
| **Time to First Token** | The sum of time (in seconds) taken to generate the first token for requests to this pod. |

Choose a reason for hiding this comment

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

medium

The description for Time to First Token states it is the "sum of time". This is an unusual metric for latency, as a sum would grow indefinitely and not provide a clear snapshot of current performance. Typically, latency is measured as an average, median, or percentile (e.g., p95). Please verify if "sum" is correct. If so, consider adding an explanation. If it's an average or another statistical measure, please update the description accordingly.

| **Time to First Token** | The average time (in seconds) taken to generate the first token for requests to this pod. |

import { Steps, Aside } from '@astrojs/starlight/components';



Choose a reason for hiding this comment

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

medium

There are extra blank lines here and on line 29. To maintain source code consistency and readability, it's best to use only a single blank line between paragraphs or components.

Comment on lines +22 to +23
| **Status** | The current job status for downloading or processing the artifact. |
| **Phase** | The current phase/status of the artifact. |

Choose a reason for hiding this comment

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

medium

The descriptions for Status and Phase are very similar and could be confusing. Status is "The current job status for downloading or processing the artifact," and Phase is "The current phase/status of the artifact." Please clarify the distinction between these two columns. For example, does Status refer to a background job (like Pending, Running, Succeeded) while Phase refers to the artifact's lifecycle state (like Downloading, Ready, Error)? Providing examples for each would be very helpful.

| **Status**      | The status of the background job processing the artifact (e.g., `Pending`, `Running`, `Succeeded`). |
| **Phase**       | The lifecycle phase of the artifact itself (e.g., `Downloading`, `Ready`, `Error`).                |

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.

3 participants