chore: update dependencies - #13497
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 38de02de54
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "custom": { | ||
| Key: "custom", DisplayName: "Custom", Sort: 10, DefaultAPIType: "openai-completions", EnvKey: "CUSTOM_API_KEY", | ||
| APIConfigs: editableAPIConfigs(true, "openai-completions", "openai-responses", "anthropic-messages", "openai-images", "dashscope-images", "minimax-images", "openrouter-images"), | ||
| APIConfigs: editableAPIConfigs(true, "openai-completions", "openai-responses", "anthropic-messages", "openai-images"), |
There was a problem hiding this comment.
Preserve the custom image API types
For installations with an existing custom account using dashscope-images, minimax-images, or openrouter-images, removing these entries makes the edit drawer replace the persisted type with openai-completions; submitting then fails because UpdateAccount forbids changing an account's API type. Requests that retain the old type also fail catalog resolution, and new custom endpoints using these still-supported verification protocols can no longer be created. Retain these configurations or add a compatibility/migration path for existing accounts.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Pull request overview
Updates frontend and agent dependencies while also adjusting AI agent account configuration behavior and provider catalog metadata.
Changes:
- Bumped frontend build/tooling dependencies (e.g.,
@vueuse/core,postcss-html,vite,vue-tsc) and regeneratedpackage-lock.json. - Updated agent Go module dependencies (
go-sysconf,numcpus). - Tweaked AI agent account UI/logic (label spacing, default
validateAvailabilityon edit) and modified supported API types for thecustomprovider.
Reviewed changes
Copilot reviewed 4 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| frontend/src/views/ai/agents/model/add/index.vue | UI spacing tweak and changes edit-default for availability validation. |
| frontend/package.json | Frontend dependency bumps (notably postcss-html and vite). |
| frontend/package-lock.json | Lockfile updates reflecting new frontend dependency graph and engine constraints. |
| agent/go.mod | Go dependency version bumps for the agent module. |
| agent/go.sum | Updated checksums for bumped Go dependencies. |
| agent/app/provider/catalog.go | Changes supported API type list for the custom provider. |
Files not reviewed (1)
- frontend/package-lock.json: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| form.apiKey = params.apiKey || ''; | ||
| form.rememberApiKey = params.rememberApiKey || false; | ||
| form.validateAvailability = true; | ||
| form.validateAvailability = false; |
| "custom": { | ||
| Key: "custom", DisplayName: "Custom", Sort: 10, DefaultAPIType: "openai-completions", EnvKey: "CUSTOM_API_KEY", | ||
| APIConfigs: editableAPIConfigs(true, "openai-completions", "openai-responses", "anthropic-messages", "openai-images", "dashscope-images", "minimax-images", "openrouter-images"), | ||
| APIConfigs: editableAPIConfigs(true, "openai-completions", "openai-responses", "anthropic-messages", "openai-images"), | ||
| }, |
| "postcss": "^8.5.14", | ||
| "postcss-html": "^1.8.1", | ||
| "postcss-html": "^2.0.0", | ||
| "prettier": "^3.9.6", |
No description provided.