Index
All Classes and Interfaces|All Packages
C
- CommandFunctionToolsTest - Class in org.machanism.machai.ai.manager
-
Unit tests for
CommandFunctionTools. - CommandFunctionToolsTest() - Constructor for class org.machanism.machai.ai.manager.CommandFunctionToolsTest
F
- FileFunctionToolsTest - Class in org.machanism.machai.ai.manager
-
Unit tests for
FileFunctionTools. - FileFunctionToolsTest() - Constructor for class org.machanism.machai.ai.manager.FileFunctionToolsTest
G
- GenAIProviderManagerTest - Class in org.machanism.machai.ai.manager
-
Unit tests for
GenAIProviderManager. - GenAIProviderManagerTest() - Constructor for class org.machanism.machai.ai.manager.GenAIProviderManagerTest
- GenAIProviderTest - Class in org.machanism.machai.ai.manager
- GenAIProviderTest() - Constructor for class org.machanism.machai.ai.manager.GenAIProviderTest
I
- infersOpenAIProviderWhenOnlyModelIsGiven() - Method in class org.machanism.machai.ai.manager.GenAIProviderManagerTest
-
Validates correct provider inference when only model is supplied.
N
- NoneProviderTest - Class in org.machanism.machai.ai.none
-
Unit tests for
NoneProvider. - NoneProviderTest() - Constructor for class org.machanism.machai.ai.none.NoneProviderTest
O
- OpenAIProviderTest - Class in org.machanism.machai.ai.openAI
- OpenAIProviderTest() - Constructor for class org.machanism.machai.ai.openAI.OpenAIProviderTest
- org.machanism.machai.ai.manager - package org.machanism.machai.ai.manager
- org.machanism.machai.ai.none - package org.machanism.machai.ai.none
- org.machanism.machai.ai.openAI - package org.machanism.machai.ai.openAI
- org.machanism.machai.ai.web - package org.machanism.machai.ai.web
R
- returnsOpenAIProviderForValidModel() - Method in class org.machanism.machai.ai.manager.GenAIProviderManagerTest
-
Checks correct resolution of OpenAI provider with direct model specification.
S
- setUp() - Method in class org.machanism.machai.ai.manager.FileFunctionToolsTest
- setUp() - Method in class org.machanism.machai.ai.manager.GenAIProviderTest
- setUp() - Method in class org.machanism.machai.ai.none.NoneProviderTest
-
Initializes a new
NoneProviderbefore each test. - shouldInstantiateOpenAIProvider() - Method in class org.machanism.machai.ai.openAI.OpenAIProviderTest
- SystemFunctionToolsTest - Class in org.machanism.machai.ai.manager
-
Unit tests for
SystemFunctionTools. - SystemFunctionToolsTest() - Constructor for class org.machanism.machai.ai.manager.SystemFunctionToolsTest
T
- tearDown() - Method in class org.machanism.machai.ai.none.NoneProviderTest
-
Clears provider state after each test.
- testAddFile_File() - Method in class org.machanism.machai.ai.manager.GenAIProviderTest
- testAddFile_Url() - Method in class org.machanism.machai.ai.manager.GenAIProviderTest
- testAddFileMethodsAreNoOps() - Method in class org.machanism.machai.ai.none.NoneProviderTest
-
Tests that addFile methods are no-ops and do not throw.
- testAddTool() - Method in class org.machanism.machai.ai.manager.GenAIProviderTest
- testApplyTools() - Method in class org.machanism.machai.ai.manager.SystemFunctionToolsTest
-
Tests the tools attachment to the provider.
- testApplyToolsAddsFunction() - Method in class org.machanism.machai.ai.manager.CommandFunctionToolsTest
-
Verifies that applyTools installs the tool into GenAIProvider.
- testApplyToolsAddsFunctions() - Method in class org.machanism.machai.ai.manager.FileFunctionToolsTest
-
Confirms tools attachment to provider.
- testClear() - Method in class org.machanism.machai.ai.manager.GenAIProviderTest
- testClearResetsPrompts() - Method in class org.machanism.machai.ai.none.NoneProviderTest
-
Tests that clear resets prompts.
- testEmbedding() - Method in class org.machanism.machai.ai.manager.GenAIProviderTest
- testEmbeddingThrows() - Method in class org.machanism.machai.ai.none.NoneProviderTest
-
Tests that embedding throws IllegalArgumentException.
- testGetRecursiveFiles() - Method in class org.machanism.machai.ai.manager.FileFunctionToolsTest
-
Test recursive file listing logic using temp directory.
- testInputsLog() - Method in class org.machanism.machai.ai.manager.GenAIProviderTest
- testInputsLogSetsFile() - Method in class org.machanism.machai.ai.none.NoneProviderTest
-
Tests that inputsLog sets the file and prompts are written to file.
- testInstructions() - Method in class org.machanism.machai.ai.manager.GenAIProviderTest
- testInstructionsStoresText() - Method in class org.machanism.machai.ai.none.NoneProviderTest
-
Tests that instructions are stored, prompts are written to file if inputsLog is set.
- testModel() - Method in class org.machanism.machai.ai.manager.GenAIProviderTest
- testModel_duplicateConfigName_throws() - Method in class org.machanism.machai.ai.web.WebProviderTest
-
Validates that calling model() with the same config name reports configuration change error.
- testModelIsNoOp() - Method in class org.machanism.machai.ai.none.NoneProviderTest
-
Tests that model method is a no-op.
- testPerform() - Method in class org.machanism.machai.ai.manager.GenAIProviderTest
- testPerform_runsRecipe() - Method in class org.machanism.machai.ai.web.WebProviderTest
-
Example test for perform().
- testPrompt() - Method in class org.machanism.machai.ai.manager.GenAIProviderTest
- testPromptAppendsText() - Method in class org.machanism.machai.ai.none.NoneProviderTest
-
Tests that prompt appends text and perform returns null.
- testPromptFile() - Method in class org.machanism.machai.ai.manager.GenAIProviderTest
- testPromptFileIsNoOp() - Method in class org.machanism.machai.ai.none.NoneProviderTest
-
Tests that promptFile is a no-op and does not throw exception.
- testSetWorkingDir() - Method in class org.machanism.machai.ai.manager.GenAIProviderTest
- testSetWorkingDir_exception() - Method in class org.machanism.machai.ai.web.WebProviderTest
-
Verifies that setWorkingDir throws IllegalArgumentException if configuration or AE setup node initialization fails.
- testWriteReadFileMocked() - Method in class org.machanism.machai.ai.manager.FileFunctionToolsTest
-
Checks basic file write and read operation (mocked params).
- throwsForUnsupportedProvider() - Method in class org.machanism.machai.ai.manager.GenAIProviderManagerTest
-
Confirms error case when unsupported provider string is supplied.
W
- WebProviderTest - Class in org.machanism.machai.ai.web
-
Unit tests for
WebProvider. - WebProviderTest() - Constructor for class org.machanism.machai.ai.web.WebProviderTest
All Classes and Interfaces|All Packages