mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-04 09:39:32 +08:00
Go: fix register user (#16058)
### What problem does this PR solve? Fix register user ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --------- Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -10,7 +10,7 @@ void test_single_thread() {
|
||||
std::cout << "Test 1: Single thread, 1000 iterations..." << std::endl;
|
||||
|
||||
// Create analyzer instance
|
||||
RAGAnalyzerHandle handle = RAGAnalyzer_Create(".");
|
||||
RAGAnalyzerHandle handle = RAGAnalyzer_Create("./resource");
|
||||
assert(handle != nullptr && "Failed to create RAGAnalyzer");
|
||||
|
||||
// Load the analyzer
|
||||
@@ -110,8 +110,9 @@ void test_multi_thread() {
|
||||
}
|
||||
|
||||
int main() {
|
||||
std::cout << "Please make sure the './resource' directory exists and is accessible." << std::endl;
|
||||
std::cout << "=== RAGAnalyzer C API Test ===" << std::endl;
|
||||
|
||||
|
||||
test_single_thread();
|
||||
// test_multi_thread();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user