anything-llm/server/utils/AiProviders/huggingface
Timothy Carambat 99f2c25b1c
Agent Context window + context window refactor. (#2126)
* Enable agent context windows to be accurate per provider:model

* Refactor model mapping to external file
Add token count to document length instead of char-count
refernce promptWindowLimit from AIProvider in central location

* remove unused imports
2024-08-15 12:13:28 -07:00
..
index.js Agent Context window + context window refactor. (#2126) 2024-08-15 12:13:28 -07:00