Eduards commited on
Commit
d21ddf0
·
1 Parent(s): df91d0e

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 '~/utils/constants';
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, ProviderInfo } from './types';
 
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}`;