Skip to content

Commit

Permalink
One more fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wonderwhy-er committed Nov 14, 2024
1 parent df91d0e commit d21ddf0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/components/chat/APIKeyManager.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState } from 'react';
import { IconButton } from '~/components/ui/IconButton';
import type { ProviderInfo } from '~/utils/constants';
import type { ProviderInfo } from '~/types/model';

interface APIKeyManagerProps {
provider: ProviderInfo;
Expand Down
3 changes: 2 additions & 1 deletion app/utils/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { ModelInfo, OllamaApiResponse, OllamaModel, ProviderInfo } from './types';
import type { ModelInfo, OllamaApiResponse, OllamaModel } from './types';
import type { ProviderInfo } from '~/types/model';

export const WORK_DIR_NAME = 'project';
export const WORK_DIR = `/home/${WORK_DIR_NAME}`;
Expand Down

0 comments on commit d21ddf0

Please sign in to comment.