mirror of
https://github.com/Mintplex-Labs/anything-llm
synced 2026-04-25 17:15:37 +02:00
Microsoft Foundry Local LLM provider & agent provider (#4435)
* add microsoft foundry local llm and agent providers * minor change to fix early stop token + overloading of context window always use user defined window _unless_ it is larger than the models real contenxt window cache the context windows when we can from the API (0.7.*)+ Unload model forcefully on model change to prevent resource hogging * add back token preference since some models have very large windows and can crash a machine normalize cases --------- Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
This commit is contained in:
@@ -144,6 +144,11 @@ GID='1000'
|
||||
# MOONSHOT_AI_API_KEY='your-moonshot-api-key-here'
|
||||
# MOONSHOT_AI_MODEL_PREF='moonshot-v1-32k'
|
||||
|
||||
# LLM_PROVIDER='foundry'
|
||||
# FOUNDRY_BASE_PATH='http://127.0.0.1:55776'
|
||||
# FOUNDRY_MODEL_PREF='phi-3.5-mini'
|
||||
# FOUNDRY_MODEL_TOKEN_LIMIT=4096
|
||||
|
||||
###########################################
|
||||
######## Embedding API SElECTION ##########
|
||||
###########################################
|
||||
|
||||
Reference in New Issue
Block a user