UI acp migratoin: Decouple desktop UI types from generated OpenAPI types (Part 2) (#10149)

This commit is contained in:
Lifei Zhou
2026-07-01 12:44:08 +10:00
committed by GitHub
parent 66ce9a6beb
commit 82c0b0dfd9
19 changed files with 69 additions and 25 deletions
@@ -1,7 +1,7 @@
import React, { createContext, useContext, useState, useEffect, useMemo, useCallback } from 'react';
import { toastError, toastSuccess } from '../toasts';
import Model, { getProviderMetadata } from './settings/models/modelInterface';
import { ProviderMetadata } from '../api';
import type { ProviderMetadata } from '../types/providers';
import { acpChatSessionActions, acpChatSessionStore } from '../acp/chatSessionStore';
import {
acpReadDefaults,