Skip to content

Commit

Permalink
Merge branch 'main' of github.com:TarsLab/obsidian-tars
Browse files Browse the repository at this point in the history
  • Loading branch information
ae86jack committed Oct 30, 2024
2 parents ba1c0f6 + 4739da6 commit 401a924
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/providers/qianFan.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fetch from 'node-fetch'
import { t } from 'src/lang/helper'
import { Message, SendRequest, Vendor, BaseOptions, Optional } from '.'
import { BaseOptions, Message, Optional, SendRequest, Vendor } from '.'

interface TokenResponse {
access_token: string
Expand Down
2 changes: 1 addition & 1 deletion src/settingTab.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { App, Notice, PluginSettingTab, Setting } from 'obsidian'
import { t } from './lang/helper'
import TarsPlugin from './main'
import { BaseOptions, ProviderSettings, Optional } from './providers'
import { BaseOptions, Optional, ProviderSettings } from './providers'
import { DEFAULT_SETTINGS, availableVendors } from './settings'

export class TarsSettingTab extends PluginSettingTab {
Expand Down
6 changes: 3 additions & 3 deletions src/settings.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { ProviderSettings, Vendor } from './providers'
import { azureVendor } from './providers/azure'
import { claudeVendor } from './providers/claude'
import { deepSeekVendor } from './providers/deepSeek'
import { doubaoVendor } from './providers/doubao'
import { kimiVendor } from './providers/kimi'
import { ollamaVendor } from './providers/ollama'
import { openAIVendor } from './providers/openAI'
import { qianFanVendor } from './providers/qianFan'
import { qwenVendor } from './providers/qwen'
import { zhipuVendor } from './providers/zhipu'
import { claudeVendor } from './providers/claude'
import { azureVendor } from './providers/azure'
import { ollamaVendor } from './providers/ollama'

export interface PluginSettings {
providers: ProviderSettings[]
Expand Down

0 comments on commit 401a924

Please sign in to comment.