Skip to content

Commit

Permalink
💄 style: add proxyUrl support
Browse files Browse the repository at this point in the history
  • Loading branch information
hezhijie0327 authored Feb 14, 2025
1 parent e0ae710 commit 26e7a7f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ ENV \
# InternLM
INTERNLM_API_KEY="" INTERNLM_MODEL_LIST="" \
# Jina
JINA_API_KEY="" JINA_MODEL_LIST="" \
JINA_API_KEY="" JINA_MODEL_LIST="" JINA_PROXY_URL="" \
# Minimax
MINIMAX_API_KEY="" MINIMAX_MODEL_LIST="" \
# Mistral
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.database
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ ENV \
# InternLM
INTERNLM_API_KEY="" INTERNLM_MODEL_LIST="" \
# Jina
JINA_API_KEY="" JINA_MODEL_LIST="" \
JINA_API_KEY="" JINA_MODEL_LIST="" JINA_PROXY_URL="" \
# Minimax
MINIMAX_API_KEY="" MINIMAX_MODEL_LIST="" \
# Mistral
Expand Down
3 changes: 3 additions & 0 deletions src/config/modelProviders/jina.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ const Jina: ModelProviderCard = {
modelsUrl: 'https://jina.ai/models',
name: 'Jina',
settings: {
proxyUrl: {
placeholder: 'https://deepsearch.jina.ai/v1',
},
sdkType: 'openai',
showModelFetcher: true,
},
Expand Down

0 comments on commit 26e7a7f

Please sign in to comment.