Repository navigation
Update the AI model to GPT-5.4 in AI log agent - #4883
Open
lubaihua33 wants to merge 1 commit into
Open
lubaihua33 wants to merge 1 commit into
lubaihua33 wants to merge 1 commit into
Conversation
lubaihua33
requested review from
LiliDeng and
Johnson (johnsongeorge-w)
as code owners
November 14, 2026 05:04
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The runbook still documents GPT-4 prerequisites and old deployment defaults, so users who omit optional deployment settings may encounter analysis failures because the requested gpt-5.4 deployment is unavailable.
1 open issue
What changed in this PR
Updates LISA’s AI log-analysis defaults to use the Azure deployment named gpt-5.4 for both general and software analysis.
Changes:
- Updates both deployment defaults in the log-agent notifier configuration.
- Aligns the
analyze()function defaults with the notifier while preserving explicit overrides.
Suggested validation (not run): Enable the notifier and exercise a controlled failed-test notification with defaults and explicit overrides. A passing smoke test alone will not exercise AI analysis.
Key Test Cases:
smoke_test
Impacted LISA Features:
None — changes are limited to AI analysis and notifier defaults.
Tested Azure Marketplace Images:
- canonical 0001-com-ubuntu-server-jammy 22_04-lts-gen2 latest
| File | Description |
|---|---|
lisa/notifiers/log_agent.py |
Sets both notifier deployment defaults to gpt-5.4. |
lisa/ai/log_agent.py |
Sets both analyze() deployment defaults to gpt-5.4. |
Review effort: Balanced
| # AI model deployment configuration | ||
| general_deployment_name: str = field( | ||
| default="gpt-4o", | ||
| default="gpt-5.4", |
This branch has not been deployed
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.

Update the AI model to GPT-5.4 in AI log agent. The accuracy is 93% using GPT5.4