Discover Packages
github.com/xraph/cortex
llm
nexus
package
Version:
v1.9.0
Opens a new window with list of versions in this module.
Published: Oct 27, 2026
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package nexus adapts the Nexus LLM gateway to the cortex llm.Client interface.
EngineOption returns an engine.Option that auto-discovers a Nexus gateway
from the DI container and configures the engine's LLM client.
If no gateway is found, returns a no-op option (safe to always include).
Adapter implements llm.Client by delegating to a nexus.Engine.
New creates a new Nexus adapter from a nexus.Gateway.
Complete sends a synchronous completion request via the Nexus pipeline.
CompleteStream sends a streaming completion request via the Nexus pipeline.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.