Skip to content

elm/tool_support_elm.cpp

ToolSupportELM implementation — pass-through stub with logged not-implemented. More...

Namespaces

Name
sgns
sgns::neoswarm
sgns::neoswarm::elm

Detailed Description

ToolSupportELM implementation — pass-through stub with logged not-implemented.

Date: 2026-07-17

Source code

#include "tool_support_elm.hpp"
#include "common/logging.hpp"

namespace sgns::neoswarm::elm
{
    namespace
    {
        auto ToolLogger()
        {
            return neoswarm::CreateLogger( "ToolSupportELM" );
        }
    } // namespace

    outcome::result<void> ToolSupportELM::Load( const std::string& /*model_path*/ )
    {
        ToolLogger()->info( "ToolSupportELM — stub, no model to load" );
        return outcome::success();
    }

    outcome::result<std::string> ToolSupportELM::Process( const std::string& input, const ELMContext& /*ctx*/ )
    {
        ToolLogger()->warn( "ToolSupportELM not implemented — returning input unchanged" );
        m_lastConfidence = 0.0f;
        return outcome::success( input );
    }

} // namespace sgns::neoswarm::elm

Updated on 2026-10-09 at 03:59:42 +0000