UNPKG

@hashgraphonline/conversational-agent

Version:

Hashgraph Online conversational AI agent implementing HCS-10 communication, HCS-2 registries, and content inscription on Hedera. https://hol.org

49 lines (42 loc) 1.24 kB
/** * Common test constants to reduce string duplication in test files */ export const TEST_ACCOUNT_IDS = { OPERATOR: '0.0.12345', TARGET: '0.0.67890', SENDER: '0.0.800', RECEIVER: '0.0.801', } as const; export const TEST_NETWORK_CONFIGS = { TESTNET: 'testnet', MAINNET: 'mainnet', PREVIEWNET: 'previewnet', } as const; export const TEST_MESSAGES = { SIMPLE_QUERY: 'test message', AGENT_NOT_INITIALIZED: 'Agent not initialized. Call boot() first.', PROCESSING_ERROR: 'Error processing message', TEST_RESPONSE: 'Test response', } as const; export const TEST_TOOL_NAMES = { MOCK_TOOL: 'mock-tool', HEDERA_GET_ACCOUNT: 'hedera_get_account_info', HEDERA_TRANSFER: 'hedera-account-transfer-hbar', INSCRIBE_HASHINAL: 'inscribeHashinal', } as const; export const TEST_KEYS = { OPENAI_API_KEY: 'test-openai-key', PRIVATE_KEY: 'mock-private-key', OPERATOR_KEY: 'test-operator-key', } as const; export const TEST_ERRORS = { INITIALIZATION_ERROR: 'Initialization error', NETWORK_ERROR: 'Network error', VALIDATION_ERROR: 'Validation error', } as const; export const MOCK_FORM_DATA = { FORM_ID: 'mock-form-id', TOOL_NAME: 'mock-tool', FIELD_NAME: 'test-field', FIELD_TYPE: 'text', } as const;