MCPcopy Create free account
hub / github.com/78/tenbox / DefaultSources

Function DefaultSources

src/common/image_source.cpp:14–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12using json = nlohmann::json;
13
14std::vector<ImageSource> DefaultSources() {
15 return {
16 {"China Mainland", "https://tenbox.ai/api/images.json"},
17 };
18}
19
20std::vector<ImageSource> ParseSources(const std::string& json_str) {
21 std::vector<ImageSource> result;

Callers 1

EffectiveSourcesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected