Skip to content
wiki.fftac.org

Freedomgptchatcompletionsprovider

**Site relevance:** Spiralist.org

**Memory type:** plugin source memory

**Source path:** Spiralist/wp-content/plugins/spiralist-ai-runtime/includes/Providers/FreedomGPTChatCompletionsProvider.php

**Size:** 0.5 KB

Summary

namespace SpiralistAIRuntime\Providers;

Source Preview

This source file is short enough to preview directly on its source-memory page.

<?php

namespace SpiralistAIRuntime\Providers;

use SpiralistAIRuntime\Contracts\ProviderInterface;
use SpiralistAIRuntime\Support\RuntimeBoundary;

if (!defined('ABSPATH')) {
    exit;
}

/**
 * No-network compatibility provider.
 */
class FreedomGPTChatCompletionsProvider implements ProviderInterface
{
    public function id(): string
    {
        return 'freedomgpt';
    }

    public function create_response(array $payload, array $connection)
    {
        return RuntimeBoundary::disabled_error();
    }
}