()
| 163 | | RevisionConflict; |
| 164 | |
| 165 | export function createDefaultRuntimePolicy(): RuntimePolicy { |
| 166 | return { |
| 167 | networkProxy: { |
| 168 | enabled: false, |
| 169 | protocol: 'http', |
| 170 | host: '127.0.0.1', |
| 171 | port: 7890, |
| 172 | authEnabled: false, |
| 173 | username: '', |
| 174 | bypassList: ['metaso.cn', 'baidu.com'], |
| 175 | autoBypassDomains: ['localhost', '127.0.0.1', '::1', '192.168.*', '10.*', '*.local'], |
| 176 | }, |
| 177 | personalization: { displayName: '', assistantTone: '' }, |
| 178 | memory: { enabled: true, agentReadEnabled: false }, |
| 179 | workspaceInstructions: { enabled: true }, |
| 180 | privacy: { incognitoActive: false }, |
| 181 | chatDefaults: { permissionMode: 'ask' }, |
| 182 | webSearch: { enabled: false, defaultProvider: 'model' }, |
| 183 | subagents: { presets: [] }, |
| 184 | }; |
| 185 | } |
| 186 | |
| 187 | export type ConnectionModel = Readonly<ModelInfo>; |
| 188 |
no outgoing calls