Linux 软件免费装
Banner图

DevBridge AI Provider for Magnitude

开发者 mahbubwpwist
更新时间 2026年10月12日 06:13
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

ai connector llm local-ai magnitude

下载

0.2.0 0.1.0

详情介绍:

DevBridge AI Provider for Magnitude connects WordPress to Magnitude, an open-source inference engine that runs open-weight models on your own hardware. The plugin integrates Magnitude's OpenAI-compatible API with the WordPress AI Client, allowing compatible WordPress plugins to use locally running AI models. This is an independent project. It is not affiliated with, endorsed by, or sponsored by Magnitude AI Inc., the maker of Magnitude. The name Magnitude is used only to identify the service this plugin connects to. Features: Requirements: Magnitude lists models that are currently running. Start a model in the Magnitude application before expecting it to appear in the connector. Important limitations:

安装:

  1. Upload the plugin files to the /wp-content/plugins/devbridge-ai-provider-magnitude/ directory, or install the plugin through the WordPress Plugins screen.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Open Settings > Magnitude.
  4. Ensure the Magnitude application is running and at least one model has been started.
  5. Confirm that the connection status shows Connected and that your running models appear.
  6. To use the plugin through the WordPress AI Client, open Settings > Connectors and configure the Magnitude connector if necessary.
No API key is required when Magnitude runs on the same computer as WordPress.

常见问题:

Why does Magnitude show no models?

Magnitude lists only models that are downloaded and currently running. Open the Magnitude application, download a model if necessary, start it, and reload the Magnitude settings page.

Do I need an API key?

No. When Magnitude runs on the same computer as WordPress, leave the API key field under Settings > Connectors empty. The field may be displayed as part of the standard connector interface, but Magnitude does not require a key for local use.

How do I connect to Magnitude on another computer?

  1. Open the Magnitude application on the computer running the model.
  2. Enable Network access in Magnitude.
  3. If the Require API key option is enabled, copy the API key and enter it in the Magnitude connector under Settings > Connectors in WordPress. Save your settings.
  4. Find the network address shown under Reachable at in Magnitude. The address should end in /inference/v1.
  5. Open Settings > Magnitude in WordPress and enter the reachable address. The plugin handles the /v1 API path, so either the base /inference address or the /inference/v1 address can be used.
You can also define the server address in wp-config.php: define( 'DEVBRIDGE_AI_PROVIDER_MAGNITUDE_HOST', 'http://192.168.1.20:10100/inference' ); Replace the example IP address with the reachable address of your Magnitude server. When this constant is defined, the settings field is locked. Only HTTP and HTTPS addresses without a username or password are accepted. Use network access only on a network you trust, and configure authentication and network protections appropriately.

Why is a reply empty or cut short?

Reasoning models may use a significant number of tokens for internal reasoning before producing their final answer. Increase the maximum token limit for the feature you are using.

Does this plugin support image generation?

No. Magnitude provides text and chat inference through this connector, not image generation. If you need image generation or embeddings in WordPress, consider an AI provider that supports those capabilities, such as a compatible Ollama setup.

Does this plugin support image and audio input?

Yes, when the running model supports the relevant input type and Magnitude reports that capability. Support depends on the model and the capabilities exposed by Magnitude.

How is Magnitude different from Ollama?

Both Magnitude and Ollama can run open-weight models locally and provide OpenAI-compatible APIs. They are separate applications, and each has its own WordPress connector.

  • Focus: Magnitude is an inference engine designed to optimize inference for the available hardware. Ollama offers a broad library of models and also provides a cloud service.
  • Performance: Magnitude publishes benchmarks showing performance improvements over llama.cpp on tested hardware. Actual performance depends on your hardware, model, and configuration.
  • Default address: This plugin uses http://127.0.0.1:10100/inference. The Ollama API commonly uses http://localhost:11434.
  • WordPress features: This plugin provides text generation, tool calling, structured JSON output, and supported image and audio input. Image generation and embeddings are not available through Magnitude via this connector.

Which one should I use?

Use the connector that matches the inference application you run. Choose this plugin if you use Magnitude or want to try it. If you need image generation or embeddings, choose a provider that supports those features, such as the Ollama connector.

What data does the Test Playground store?

Conversation history: When you test models in the Test Playground under Settings > Magnitude, the multi-turn conversation history is stored in your browser's session storage (sessionStorage). It is not stored in the WordPress database. Clearing the history or closing the browser tab removes the session history. Response cache: To reduce repeated inference requests while testing, responses from the Test Playground are cached using WordPress transients for up to 10 minutes. Enable Bypass Cache to skip cached responses and request a fresh result. Uninstall cleanup: When the plugin is deleted, its saved options and temporary transients are removed from the WordPress database on single-site and multisite installations.

Is this plugin related to the Ollama connector?

No. DevBridge AI Provider for Magnitude is an independent project. It was inspired by the AI Provider for Ollama plugin but is not affiliated with Ollama, its makers, or the authors of that plugin.

更新日志:

0.2.0 0.1.0