chore: generic_prox ux
This commit is contained in:
@@ -50,11 +50,11 @@ export const ActionList: ActionItem[] = [
|
||||
key: 'chat',
|
||||
icon: icons.ExperimentOutlined
|
||||
},
|
||||
// {
|
||||
// label: 'models.form.generic_proxy.button',
|
||||
// key: 'proxy',
|
||||
// icon: icons.CaptivePortal
|
||||
// },
|
||||
{
|
||||
label: 'models.form.generic_proxy.button',
|
||||
key: 'proxy',
|
||||
icon: icons.CaptivePortal
|
||||
},
|
||||
{
|
||||
label: 'models.table.button.apiAccessInfo',
|
||||
key: 'api',
|
||||
@@ -197,6 +197,7 @@ export const modelFileActions = [
|
||||
|
||||
export const categoryToPathMap: Record<string, string> = {
|
||||
[modelCategoriesMap.llm]: '/playground/chat',
|
||||
[modelCategoriesMap.image]: '/playground/text-to-image',
|
||||
[modelCategoriesMap.text_to_speech]: '/playground/speech?type=tts',
|
||||
[modelCategoriesMap.speech_to_text]: '/playground/speech?type=stt',
|
||||
[modelCategoriesMap.reranker]: '/playground/rerank',
|
||||
|
||||
@@ -287,6 +287,7 @@ export const modelCategoriesMap = {
|
||||
|
||||
export const categoryOptions = [
|
||||
{ label: 'LLM', value: modelCategoriesMap.llm },
|
||||
{ label: 'Image', value: modelCategoriesMap.image },
|
||||
{ label: 'Embedding', value: modelCategoriesMap.embedding },
|
||||
{ label: 'Reranker', value: modelCategoriesMap.reranker },
|
||||
{ label: 'Text-to-Speech', value: modelCategoriesMap.text_to_speech },
|
||||
|
||||
Reference in New Issue
Block a user