One more fix
Browse files
app/components/chat/APIKeyManager.tsx
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import React, { useState } from 'react';
|
2 |
import { IconButton } from '~/components/ui/IconButton';
|
3 |
-
import type { ProviderInfo } from '~/
|
4 |
|
5 |
interface APIKeyManagerProps {
|
6 |
provider: ProviderInfo;
|
|
|
1 |
import React, { useState } from 'react';
|
2 |
import { IconButton } from '~/components/ui/IconButton';
|
3 |
+
import type { ProviderInfo } from '~/types/model';
|
4 |
|
5 |
interface APIKeyManagerProps {
|
6 |
provider: ProviderInfo;
|
app/utils/constants.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
-
import type { ModelInfo, OllamaApiResponse, OllamaModel
|
|
|
2 |
|
3 |
export const WORK_DIR_NAME = 'project';
|
4 |
export const WORK_DIR = `/home/${WORK_DIR_NAME}`;
|
|
|
1 |
+
import type { ModelInfo, OllamaApiResponse, OllamaModel } from './types';
|
2 |
+
import type { ProviderInfo } from '~/types/model';
|
3 |
|
4 |
export const WORK_DIR_NAME = 'project';
|
5 |
export const WORK_DIR = `/home/${WORK_DIR_NAME}`;
|