Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
narengogi committed Nov 11, 2024
1 parent eb280dc commit 0f88868
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/providers/segmind/api.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ProviderAPIConfig } from '../types';

const StabilityAIAPIConfig: ProviderAPIConfig = {
const SegmindAIAPIConfig: ProviderAPIConfig = {
getBaseURL: () => 'https://api.segmind.com/v1',
headers: ({ providerOptions }) => {
return { 'x-api-key': `${providerOptions.apiKey}` };
Expand All @@ -10,4 +10,4 @@ const StabilityAIAPIConfig: ProviderAPIConfig = {
},
};

export default StabilityAIAPIConfig;
export default SegmindAIAPIConfig;
4 changes: 2 additions & 2 deletions src/providers/segmind/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { ProviderConfigs } from '../types';
import SegmindAPIConfig from './api';
import SegmindAIAPIConfig from './api';
import {
SegmindImageGenerateConfig,
SegmindImageGenerateResponseTransform,
} from './imageGenerate';

const SegmindConfig: ProviderConfigs = {
api: SegmindAPIConfig,
api: SegmindAIAPIConfig,
imageGenerate: SegmindImageGenerateConfig,
responseTransforms: {
imageGenerate: SegmindImageGenerateResponseTransform,
Expand Down

0 comments on commit 0f88868

Please sign in to comment.