Index

A B C D E F G H I K L M N O P R S T U W 
All Classes and Interfaces|All Packages|Serialized Form

A

abbreviate(String, int) - Static method in class net.thevpc.naru.ext.models.util.NaruModelUtils
 
AbstractOpenAICompatProvider - Class in net.thevpc.naru.ext.models.openapi
Base class for OpenAI-compatible cloud providers (Groq, Cerebras, OpenRouter, GitHub Models, ...).
AbstractOpenAICompatProvider(String, String[]) - Constructor for class net.thevpc.naru.ext.models.openapi.AbstractOpenAICompatProvider
 
apiKey(NaruTask) - Method in class net.thevpc.naru.ext.models.openapi.NaruModelProtocolOpenAICompat
 
apiKeyConfigKey() - Method in class net.thevpc.naru.ext.models.openapi.NaruModelProtocolOpenAICompat
 

B

baseUrl(NaruSession) - Method in class net.thevpc.naru.ext.models.openrouter.NaruOpenRouterProvider
 

C

capabilities - Variable in class net.thevpc.naru.ext.models.NaruModelProtocolBase
 
chat(NaruModelRequest, NaruTask) - Method in class net.thevpc.naru.ext.models.NaruModelProtocolBase
 
chatPath - Variable in class net.thevpc.naru.ext.models.NaruModelProtocolBase
 
chatPath() - Method in class net.thevpc.naru.ext.models.openapi.AbstractOpenAICompatProvider
 
checkValidRoutineName(String) - Static method in class net.thevpc.naru.ext.models.util.NaruModelUtils
 
configPrefix - Variable in class net.thevpc.naru.ext.models.NaruModelProtocolBase
 
connectTimeout(NaruTask, Map<String, NElement>) - Method in class net.thevpc.naru.ext.models.NaruModelProtocolBase
 
contextLength() - Method in class net.thevpc.naru.ext.models.NaruModelCapabilitiesImpl
 
createProtocol(NaruModelConfig, NaruModelCapabilities) - Method in class net.thevpc.naru.ext.models.mistral.NaruMistralProvider
 
createProtocol(NaruModelConfig, NaruModelCapabilities) - Method in class net.thevpc.naru.ext.models.openapi.AbstractOpenAICompatProvider
 

D

defaultBaseUrl - Variable in class net.thevpc.naru.ext.models.openapi.NaruModelProtocolOpenAICompat
Fallback base url used when config key <configPrefix>.url is not set.
defaultBaseUrl() - Method in class net.thevpc.naru.ext.models.cerebras.NaruCerebrasProvider
 
defaultBaseUrl() - Method in class net.thevpc.naru.ext.models.gemini.NaruGeminiProvider
 
defaultBaseUrl() - Method in class net.thevpc.naru.ext.models.github.NaruGitHubModelsProvider
 
defaultBaseUrl() - Method in class net.thevpc.naru.ext.models.groq.NaruGroqProvider
 
defaultBaseUrl() - Method in class net.thevpc.naru.ext.models.mistral.NaruMistralProvider
 
defaultBaseUrl() - Method in class net.thevpc.naru.ext.models.openapi.AbstractOpenAICompatProvider
Fallback base url when <name>.url config is not set.
defaultBaseUrl() - Method in class net.thevpc.naru.ext.models.xai.NaruXaiProvider
 

E

equals(Object) - Method in class net.thevpc.naru.ext.models.NaruModelCapabilitiesImpl
 

F

findModelIds(NaruSession) - Method in class net.thevpc.naru.ext.models.custom.NaruCustomProvider
 
findModelIds(NaruSession) - Method in class net.thevpc.naru.ext.models.ollama.NaruOllamaProvider
 
findModelIds(NaruSession) - Method in class net.thevpc.naru.ext.models.openapi.AbstractOpenAICompatProvider
 
findModelIds(NaruSession) - Method in class net.thevpc.naru.ext.models.openrouter.NaruOpenRouterProvider
Model list is dynamic: fetched live from GET /models when an API key is provided.
formatDirective(String) - Static method in class net.thevpc.naru.ext.models.util.NaruModelUtils
 

G

getCapabilities() - Method in class net.thevpc.naru.ext.models.NaruModelProtocolBase
 
getCapabilities(String, NaruSession) - Method in class net.thevpc.naru.ext.models.ollama.NaruOllamaProvider
 
getProtocol(NaruModelConfig, NaruSession) - Method in class net.thevpc.naru.ext.models.custom.NaruCustomProvider
 
getProtocol(NaruModelConfig, NaruSession) - Method in class net.thevpc.naru.ext.models.ollama.NaruOllamaProvider
 
getProtocol(NaruModelConfig, NaruSession) - Method in class net.thevpc.naru.ext.models.openapi.AbstractOpenAICompatProvider
 
getProtocol(NaruModelConfig, NaruSession) - Method in class net.thevpc.naru.ext.models.openrouter.NaruOpenRouterProvider
 
getResponseString() - Method in error net.thevpc.naru.ext.models.NaruModelProtocolBase.NonRetryableWebException
 

H

hashCode() - Method in class net.thevpc.naru.ext.models.NaruModelCapabilitiesImpl
 

I

installModel(NaruModelKey, NaruSession) - Method in class net.thevpc.naru.ext.models.ollama.NaruOllamaProvider
 
isEmbedding() - Method in class net.thevpc.naru.ext.models.NaruModelCapabilitiesImpl
 
isPath(String) - Static method in class net.thevpc.naru.ext.models.util.NaruModelUtils
 
isSupportedInstallModel() - Method in class net.thevpc.naru.ext.models.ollama.NaruOllamaProvider
 
isSupportedPsModel() - Method in class net.thevpc.naru.ext.models.ollama.NaruOllamaProvider
 
isSupportedUninstallModel() - Method in class net.thevpc.naru.ext.models.ollama.NaruOllamaProvider
 
isSupportedUnloadModel() - Method in class net.thevpc.naru.ext.models.ollama.NaruOllamaProvider
 
isTextOnly() - Method in class net.thevpc.naru.ext.models.NaruModelCapabilitiesImpl
 
isThinking() - Method in class net.thevpc.naru.ext.models.NaruModelCapabilitiesImpl
 
isTools() - Method in class net.thevpc.naru.ext.models.NaruModelCapabilitiesImpl
 
isValidRoutineName(String) - Static method in class net.thevpc.naru.ext.models.util.NaruModelUtils
 
isVision() - Method in class net.thevpc.naru.ext.models.NaruModelCapabilitiesImpl
 

K

keys() - Method in class net.thevpc.naru.ext.models.NaruModelCapabilitiesImpl
 

L

LineRange(int) - Constructor for class net.thevpc.naru.ext.models.util.NaruModelUtils.LineRange
 
LineRange(int, int) - Constructor for class net.thevpc.naru.ext.models.util.NaruModelUtils.LineRange
 
logAudit(NaruTask, NaruSession, String, String, NHttpRequest, Object, NHttpResponse, Object, Throwable, int, NDuration, Instant) - Static method in class net.thevpc.naru.ext.models.util.NaruModelUtils
 
logWebRequest(NHttpRequest, NMsg, Object) - Static method in class net.thevpc.naru.ext.models.util.NaruModelUtils
 
logWebResponse(NHttpRequest, NMsg, Object, Object, NChronometer) - Static method in class net.thevpc.naru.ext.models.util.NaruModelUtils
 

M

maskHeaderValue(String, String) - Static method in class net.thevpc.naru.ext.models.util.NaruModelUtils
 
maxRetries(NaruTask, Map<String, NElement>) - Method in class net.thevpc.naru.ext.models.NaruModelProtocolBase
 
model - Variable in class net.thevpc.naru.ext.models.NaruModelProtocolBase
 

N

NaruCerebrasProvider - Class in net.thevpc.naru.ext.models.cerebras
Cerebras provider — free-tier, high-speed inference for open models through Cerebras' OpenAI-compatible API.
NaruCerebrasProvider() - Constructor for class net.thevpc.naru.ext.models.cerebras.NaruCerebrasProvider
 
NaruCustomProvider - Class in net.thevpc.naru.ext.models.custom
Generic OpenAI-compatible provider driven entirely by configuration.
NaruCustomProvider() - Constructor for class net.thevpc.naru.ext.models.custom.NaruCustomProvider
 
NaruGeminiProvider - Class in net.thevpc.naru.ext.models.gemini
Gemini provider — talks to Google AI Studio through the OpenAI-compatible router.
NaruGeminiProvider() - Constructor for class net.thevpc.naru.ext.models.gemini.NaruGeminiProvider
 
NaruGitHubModelsProvider - Class in net.thevpc.naru.ext.models.github
GitHub Models provider — free inference for a curated catalog of models using any GitHub Personal Access Token (PAT).
NaruGitHubModelsProvider() - Constructor for class net.thevpc.naru.ext.models.github.NaruGitHubModelsProvider
 
NaruGroqProvider - Class in net.thevpc.naru.ext.models.groq
Groq provider — free-tier, ultra-fast inference for open models through Groq's OpenAI-compatible API.
NaruGroqProvider() - Constructor for class net.thevpc.naru.ext.models.groq.NaruGroqProvider
 
NaruMistralProvider - Class in net.thevpc.naru.ext.models.mistral
 
NaruMistralProvider() - Constructor for class net.thevpc.naru.ext.models.mistral.NaruMistralProvider
 
NaruModelCapabilitiesImpl - Class in net.thevpc.naru.ext.models
 
NaruModelCapabilitiesImpl(boolean, boolean, boolean, boolean, long) - Constructor for class net.thevpc.naru.ext.models.NaruModelCapabilitiesImpl
 
NaruModelCapabilitiesImpl(NElement) - Constructor for class net.thevpc.naru.ext.models.NaruModelCapabilitiesImpl
 
NaruModelProtocolBase - Class in net.thevpc.naru.ext.models
 
NaruModelProtocolBase(NaruModelProvider, NaruModelConfig, String, String, NaruModelCapabilities, NaruModelRequestSerializer, NElementDeserializer<NaruResponse>) - Constructor for class net.thevpc.naru.ext.models.NaruModelProtocolBase
 
NaruModelProtocolBase.NonRetryableWebException - Error in net.thevpc.naru.ext.models
 
NaruModelProtocolMistral - Class in net.thevpc.naru.ext.models.mistral
 
NaruModelProtocolMistral(NaruModelProvider, NaruModelConfig, String, NaruModelCapabilities) - Constructor for class net.thevpc.naru.ext.models.mistral.NaruModelProtocolMistral
 
NaruModelProtocolOllamaNative - Class in net.thevpc.naru.ext.models.ollama
 
NaruModelProtocolOllamaNative(NaruModelProvider, NaruModelConfig, String, NaruModelCapabilities) - Constructor for class net.thevpc.naru.ext.models.ollama.NaruModelProtocolOllamaNative
 
NaruModelProtocolOllamaOpenApiCompat - Class in net.thevpc.naru.ext.models.ollama
 
NaruModelProtocolOllamaOpenApiCompat(NaruModelProvider, NaruModelConfig, String, NaruModelCapabilities) - Constructor for class net.thevpc.naru.ext.models.ollama.NaruModelProtocolOllamaOpenApiCompat
 
NaruModelProtocolOpenAICompat - Class in net.thevpc.naru.ext.models.openapi
 
NaruModelProtocolOpenAICompat(NaruModelProvider, NaruModelConfig, String, String, NaruModelCapabilities) - Constructor for class net.thevpc.naru.ext.models.openapi.NaruModelProtocolOpenAICompat
 
NaruModelProtocolOpenAICompat(NaruModelProvider, NaruModelConfig, String, String, NaruModelCapabilities, String) - Constructor for class net.thevpc.naru.ext.models.openapi.NaruModelProtocolOpenAICompat
 
NaruModelUtils - Class in net.thevpc.naru.ext.models.util
 
NaruModelUtils() - Constructor for class net.thevpc.naru.ext.models.util.NaruModelUtils
 
NaruModelUtils.LineRange - Class in net.thevpc.naru.ext.models.util
 
NaruOllamaNativeRequestSerializer - Class in net.thevpc.naru.ext.models.ollama
 
NaruOllamaNativeRequestSerializer() - Constructor for class net.thevpc.naru.ext.models.ollama.NaruOllamaNativeRequestSerializer
 
NaruOllamaNativeResponseParser - Class in net.thevpc.naru.ext.models.ollama
 
NaruOllamaNativeResponseParser() - Constructor for class net.thevpc.naru.ext.models.ollama.NaruOllamaNativeResponseParser
 
NaruOllamaProvider - Class in net.thevpc.naru.ext.models.ollama
Ollama provider — talks to a local (or remote) Ollama server via REST.
NaruOllamaProvider() - Constructor for class net.thevpc.naru.ext.models.ollama.NaruOllamaProvider
 
NaruOllamaProvider(String) - Constructor for class net.thevpc.naru.ext.models.ollama.NaruOllamaProvider
 
NaruOpenApiRequestSerializer - Class in net.thevpc.naru.ext.models.openapi
 
NaruOpenApiRequestSerializer() - Constructor for class net.thevpc.naru.ext.models.openapi.NaruOpenApiRequestSerializer
 
NaruOpenApiResponseParser - Class in net.thevpc.naru.ext.models.openapi
{ "choices" : [ { "finish_reason" : "tool_calls", "index" : 0, "message" : { "role" : "assistant", "tool_calls" : [ { "function" : { "arguments" : "{\"path\":\"core/nut-api\",\"include\":\"*.java\",\"recursive\":true}", "name" : "folder_find" }, "id" : "function-call-11464485064754065774", "type" : "function" } ] } } ], "created" : 1779459950, "id" : "bWcQau20G9n2nsEPs9z20Qw", "model" : "gemini-2.5-flash", "object" : "chat.completion", "usage" : { "completion_tokens" : 28, "prompt_tokens" : 4500, "total_tokens" : 4592 } }
NaruOpenApiResponseParser() - Constructor for class net.thevpc.naru.ext.models.openapi.NaruOpenApiResponseParser
 
NaruOpenRouterProvider - Class in net.thevpc.naru.ext.models.openrouter
OpenRouter provider — one API key gives access to hundreds of models, including a rotating set of :free variants.
NaruOpenRouterProvider() - Constructor for class net.thevpc.naru.ext.models.openrouter.NaruOpenRouterProvider
 
NaruXaiProvider - Class in net.thevpc.naru.ext.models.xai
 
NaruXaiProvider() - Constructor for class net.thevpc.naru.ext.models.xai.NaruXaiProvider
 
nElementReader - Variable in class net.thevpc.naru.ext.models.NaruModelProtocolBase
 
net.thevpc.naru.ext.models - package net.thevpc.naru.ext.models
 
net.thevpc.naru.ext.models.cerebras - package net.thevpc.naru.ext.models.cerebras
 
net.thevpc.naru.ext.models.custom - package net.thevpc.naru.ext.models.custom
 
net.thevpc.naru.ext.models.gemini - package net.thevpc.naru.ext.models.gemini
 
net.thevpc.naru.ext.models.github - package net.thevpc.naru.ext.models.github
 
net.thevpc.naru.ext.models.groq - package net.thevpc.naru.ext.models.groq
 
net.thevpc.naru.ext.models.mistral - package net.thevpc.naru.ext.models.mistral
 
net.thevpc.naru.ext.models.ollama - package net.thevpc.naru.ext.models.ollama
 
net.thevpc.naru.ext.models.openapi - package net.thevpc.naru.ext.models.openapi
 
net.thevpc.naru.ext.models.openrouter - package net.thevpc.naru.ext.models.openrouter
 
net.thevpc.naru.ext.models.util - package net.thevpc.naru.ext.models.util
 
net.thevpc.naru.ext.models.xai - package net.thevpc.naru.ext.models.xai
 
NonRetryableWebException(Throwable, String) - Constructor for error net.thevpc.naru.ext.models.NaruModelProtocolBase.NonRetryableWebException
 
NoToolWrapHelper - Class in net.thevpc.naru.ext.models
 
NoToolWrapHelper() - Constructor for class net.thevpc.naru.ext.models.NoToolWrapHelper
 
NoToolWrapHelper.Separators - Class in net.thevpc.naru.ext.models
 

O

onResponseReceived(NHttpResponse, NaruTask) - Method in class net.thevpc.naru.ext.models.mistral.NaruModelProtocolMistral
 
onResponseReceived(NHttpResponse, NaruTask) - Method in class net.thevpc.naru.ext.models.NaruModelProtocolBase
 

P

paramToSchema(NaruToolParameter) - Static method in class net.thevpc.naru.ext.models.openapi.NaruOpenApiRequestSerializer
 
parseArguments(NElement) - Static method in class net.thevpc.naru.ext.models.openapi.NaruOpenApiResponseParser
 
parseEmbeddedToolCalls(String) - Static method in class net.thevpc.naru.ext.models.openapi.NaruOpenApiResponseParser
 
parseEnv(String) - Static method in class net.thevpc.naru.ext.models.util.NaruModelUtils
 
parseEnv(NElement) - Static method in class net.thevpc.naru.ext.models.util.NaruModelUtils
 
parseRanges(NCmdLine) - Static method in class net.thevpc.naru.ext.models.util.NaruModelUtils
 
parseResponse(String) - Method in class net.thevpc.naru.ext.models.NaruModelProtocolBase
 
parseRetryAfter(NHttpResponse) - Static method in class net.thevpc.naru.ext.models.util.NaruModelUtils
 
parseXmlLikeToolCall(String) - Static method in class net.thevpc.naru.ext.models.NaruModelProtocolBase
 
prepareRequest(NHttpRequest, NElement, NaruTask) - Method in class net.thevpc.naru.ext.models.NaruModelProtocolBase
 
prepareRequest(NHttpRequest, NElement, NaruTask) - Method in class net.thevpc.naru.ext.models.openapi.NaruModelProtocolOpenAICompat
 
preprocessRequest(NaruModelRequest, NaruTask) - Method in class net.thevpc.naru.ext.models.mistral.NaruModelProtocolMistral
 
preprocessRequest(NaruModelRequest, NaruTask) - Method in class net.thevpc.naru.ext.models.NaruModelProtocolBase
 
protocols - Variable in class net.thevpc.naru.ext.models.openapi.AbstractOpenAICompatProvider
 
provider - Variable in class net.thevpc.naru.ext.models.NaruModelProtocolBase
 
provider() - Method in class net.thevpc.naru.ext.models.NaruModelProtocolBase
 
psModel(NaruSession) - Method in class net.thevpc.naru.ext.models.ollama.NaruOllamaProvider
 

R

readTimeout(NaruTask, Map<String, NElement>) - Method in class net.thevpc.naru.ext.models.NaruModelProtocolBase
 
resolveCapabilities(String) - Method in class net.thevpc.naru.ext.models.cerebras.NaruCerebrasProvider
 
resolveCapabilities(String) - Method in class net.thevpc.naru.ext.models.gemini.NaruGeminiProvider
Statically maps model limits since cloud-hosted capabilities cannot be polled natively.
resolveCapabilities(String) - Method in class net.thevpc.naru.ext.models.github.NaruGitHubModelsProvider
 
resolveCapabilities(String) - Method in class net.thevpc.naru.ext.models.groq.NaruGroqProvider
 
resolveCapabilities(String) - Method in class net.thevpc.naru.ext.models.mistral.NaruMistralProvider
Statically maps model limits since cloud-hosted capabilities cannot be polled natively.
resolveCapabilities(String) - Method in class net.thevpc.naru.ext.models.openapi.AbstractOpenAICompatProvider
Statically maps capabilities since cloud-hosted capabilities cannot be polled natively.
resolveCapabilities(String) - Method in class net.thevpc.naru.ext.models.xai.NaruXaiProvider
 
resolveIndexes(NaruModelUtils.LineRange[], int) - Static method in class net.thevpc.naru.ext.models.util.NaruModelUtils
 
resolveTaskAuditPaths(NaruTask, NaruSession) - Static method in class net.thevpc.naru.ext.models.util.NaruModelUtils
 
retryPeriod(NaruTask, Map<String, NElement>) - Method in class net.thevpc.naru.ext.models.NaruModelProtocolBase
 

S

Separators(String, String) - Constructor for class net.thevpc.naru.ext.models.NoToolWrapHelper.Separators
 
serialize(NaruModelRequest, NaruModelConfig, NaruSession) - Method in class net.thevpc.naru.ext.models.ollama.NaruOllamaNativeRequestSerializer
 
serialize(NaruModelRequest, NaruModelConfig, NaruSession) - Method in class net.thevpc.naru.ext.models.openapi.NaruOpenApiRequestSerializer
 
serializer - Variable in class net.thevpc.naru.ext.models.NaruModelProtocolBase
 
supportedModels - Variable in class net.thevpc.naru.ext.models.openapi.AbstractOpenAICompatProvider
 

T

toElement() - Method in class net.thevpc.naru.ext.models.NaruModelCapabilitiesImpl
 
toObject(NElementDeserializerContext) - Method in class net.thevpc.naru.ext.models.ollama.NaruOllamaNativeResponseParser
 
toObject(NElementDeserializerContext) - Method in class net.thevpc.naru.ext.models.openapi.NaruOpenApiResponseParser
 
TOOL_CALL_SEP - Static variable in class net.thevpc.naru.ext.models.NoToolWrapHelper
 
TOOL_RESULT_SEP - Static variable in class net.thevpc.naru.ext.models.NoToolWrapHelper
 
toString() - Method in class net.thevpc.naru.ext.models.NaruModelCapabilitiesImpl
 

U

uninstallModel(NaruModelKey, NaruSession) - Method in class net.thevpc.naru.ext.models.ollama.NaruOllamaProvider
 
UNKNOWN - Static variable in class net.thevpc.naru.ext.models.NaruModelCapabilitiesImpl
 
unloadModel(NaruModelKey, NaruSession) - Method in class net.thevpc.naru.ext.models.ollama.NaruOllamaProvider
 
unwrapResponse(NaruResponse, NoToolWrapHelper.Separators, NaruTask) - Static method in class net.thevpc.naru.ext.models.NoToolWrapHelper
 
url(NaruTask, Map<String, NElement>) - Method in class net.thevpc.naru.ext.models.NaruModelProtocolBase
 
url(NaruTask, Map<String, NElement>) - Method in class net.thevpc.naru.ext.models.openapi.NaruModelProtocolOpenAICompat
 

W

wrapRequest(NaruModelRequest, NoToolWrapHelper.Separators, NoToolWrapHelper.Separators) - Static method in class net.thevpc.naru.ext.models.NoToolWrapHelper
 
A B C D E F G H I K L M N O P R S T U W 
All Classes and Interfaces|All Packages|Serialized Form