caps.h 474 B

123456789101112131415161718192021222324
  1. #pragma once
  2. #include "runtime.h"
  3. #include <string>
  4. namespace jinja {
  5. struct caps {
  6. bool supports_tools = true;
  7. bool supports_tool_calls = true;
  8. bool supports_system_role = true;
  9. bool supports_parallel_tool_calls = true;
  10. bool requires_typed_content = false; // default: use string content
  11. // for debugging
  12. std::string to_string() const;
  13. };
  14. caps caps_get(jinja::program & prog);
  15. void debug_print_caps(const caps & c);
  16. } // namespace jinja