Update pseudo_moe_st_module.py

#3

Accept domain="general" in the Sentence Transformers module
model.encode(texts, domain="general") raises ValueError: Invalid domain: general, because the check only allows config.domain_names (coding, reasoning), even though the README documents general as the default route. This accepts "general" and includes it in the error message. Tested with sentence-transformers 6.1.0: "general" matches the default output, coding and reasoning are unchanged, and invalid domains still raise.

ctranslate2-4you changed pull request status to closed

Sign up or log in to comment