Check if LLM features are enabled at the system level. This checks the config.LLM_ENABLED setting which cannot be overridden by user preferences. Returns: True if LLM is enabled in system config, False otherwise.
()
| 541 | |
| 542 | |
| 543 | def is_llm_enabled_system(): |
| 544 | """ |
| 545 | Check if LLM features are enabled at the system level. |
| 546 | |
| 547 | This checks the config.LLM_ENABLED setting which cannot be |
| 548 | overridden by user preferences. |
| 549 | |
| 550 | Returns: |
| 551 | True if LLM is enabled in system config, False otherwise. |
| 552 | """ |
| 553 | return getattr(config, 'LLM_ENABLED', False) |
| 554 | |
| 555 | |
| 556 | def is_llm_enabled(): |