Files
anything-llm/server/utils
Sean Hatfield 599a3fd8b8 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>
2025-10-01 20:04:13 -07:00
..
2024-06-21 13:38:50 -07:00
2025-04-29 13:54:00 -07:00
2025-07-31 12:28:03 -07:00
2024-07-19 18:35:41 -07:00
2025-09-25 15:34:19 -10:00
2025-04-29 13:54:00 -07:00