mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-05-15 03:47:13 +02:00
Removes system.err lines
This commit is contained in:
parent
db008de0ca
commit
260c57ca84
@ -842,7 +842,6 @@ public class OllamaAPI {
|
|||||||
Class<?>[] providers = ollamaToolServiceAnnotation.providers();
|
Class<?>[] providers = ollamaToolServiceAnnotation.providers();
|
||||||
|
|
||||||
for(Class<?> provider : providers){
|
for(Class<?> provider : providers){
|
||||||
System.err.println("Provider: " + provider.getName());
|
|
||||||
Method[] methods = provider.getMethods();
|
Method[] methods = provider.getMethods();
|
||||||
for(Method m : methods) {
|
for(Method m : methods) {
|
||||||
ToolSpec toolSpec = m.getDeclaredAnnotation(ToolSpec.class);
|
ToolSpec toolSpec = m.getDeclaredAnnotation(ToolSpec.class);
|
||||||
@ -851,7 +850,6 @@ public class OllamaAPI {
|
|||||||
}
|
}
|
||||||
String operationName = !toolSpec.name().isBlank() ? toolSpec.name() : m.getName();
|
String operationName = !toolSpec.name().isBlank() ? toolSpec.name() : m.getName();
|
||||||
String operationDesc = !toolSpec.desc().isBlank() ? toolSpec.desc() : operationName;
|
String operationDesc = !toolSpec.desc().isBlank() ? toolSpec.desc() : operationName;
|
||||||
System.err.println("Method: " + operationName);
|
|
||||||
|
|
||||||
final Tools.PropsBuilder propsBuilder = new Tools.PropsBuilder();
|
final Tools.PropsBuilder propsBuilder = new Tools.PropsBuilder();
|
||||||
LinkedHashMap<String,String> methodParams = new LinkedHashMap<>();
|
LinkedHashMap<String,String> methodParams = new LinkedHashMap<>();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user