Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(UI): update experience model dropdown #3342

Merged
merged 4 commits into from
Aug 12, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: remove unused container engine avatar
urmauur committed Aug 12, 2024
commit ae96dfd977cd6996efa355ac657c519e18cbf855
Empty file.

Unchanged files with check annotations Beta

import {
EngineStatus,
LlmEngine,
LlmEngines,

Check warning on line 8 in web/containers/ModelDropdown/ModelSection.tsx

GitHub Actions / test-on-windows-pr

'LlmEngines' is defined but never used

Check warning on line 8 in web/containers/ModelDropdown/ModelSection.tsx

GitHub Actions / test-on-macos

'LlmEngines' is defined but never used

Check warning on line 8 in web/containers/ModelDropdown/ModelSection.tsx

GitHub Actions / test-on-ubuntu

'LlmEngines' is defined but never used
LocalEngine,
LocalEngines,

Check warning on line 10 in web/containers/ModelDropdown/ModelSection.tsx

GitHub Actions / test-on-windows-pr

'LocalEngines' is defined but never used

Check warning on line 10 in web/containers/ModelDropdown/ModelSection.tsx

GitHub Actions / test-on-macos

'LocalEngines' is defined but never used

Check warning on line 10 in web/containers/ModelDropdown/ModelSection.tsx

GitHub Actions / test-on-ubuntu

'LocalEngines' is defined but never used
Model,
RemoteEngine,
RemoteEngines,
import { useState, useCallback, useEffect, useRef } from 'react'
import {
LlmEngine,

Check warning on line 4 in web/containers/ModelDropdown/index.tsx

GitHub Actions / test-on-windows-pr

'LlmEngine' is defined but never used

Check warning on line 4 in web/containers/ModelDropdown/index.tsx

GitHub Actions / test-on-macos

'LlmEngine' is defined but never used

Check warning on line 4 in web/containers/ModelDropdown/index.tsx

GitHub Actions / test-on-ubuntu

'LlmEngine' is defined but never used
LlmEngines,
LocalEngines,
Model,
import { ModelHubCategory } from '@/hooks/useModelHub'

Check failure on line 1 in web/utils/model-engine.ts

GitHub Actions / test-on-windows-pr

There should be at least one empty line between import groups

Check failure on line 1 in web/utils/model-engine.ts

GitHub Actions / test-on-macos

There should be at least one empty line between import groups

Check failure on line 1 in web/utils/model-engine.ts

GitHub Actions / test-on-ubuntu

There should be at least one empty line between import groups
import { LocalEngine } from '@janhq/core/.'

Check failure on line 2 in web/utils/model-engine.ts

GitHub Actions / test-on-windows-pr

`@janhq/core/.` import should occur before import of `@/hooks/useModelHub`

Check failure on line 2 in web/utils/model-engine.ts

GitHub Actions / test-on-macos

`@janhq/core/.` import should occur before import of `@/hooks/useModelHub`

Check failure on line 2 in web/utils/model-engine.ts

GitHub Actions / test-on-ubuntu

`@janhq/core/.` import should occur before import of `@/hooks/useModelHub`
export const getTitleByCategory = (category: ModelHubCategory) => {
if (!category || !category.length) return ''