Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

elizaOS Copilot Proxy Plugin (Python)

Python implementation of the Copilot Proxy model provider plugin for elizaOS.

Features

  • OpenAI-compatible API client for Copilot Proxy
  • Support for text generation (small and large models)
  • JSON object generation with automatic parsing
  • Health check functionality
  • Configurable timeouts and model parameters
  • Async/await support

Installation

pip install elizaos-plugin-copilot-proxy

Usage

import asyncio
from elizaos_plugin_copilot_proxy import CopilotProxyPlugin

async def main():
    # Create plugin (uses environment variables or defaults)
    plugin = CopilotProxyPlugin()
    
    async with plugin:
        # Generate text
        response = await plugin.generate_text_large("What is 2+2?")
        print(response)
        
        # Generate JSON object
        obj = await plugin.generate_object_small("Create a JSON object with a greeting")
        print(obj)

asyncio.run(main())

Environment Variables

  • COPILOT_PROXY_BASE_URL - Base URL for the proxy server (default: http://localhost:3000/v1)
  • COPILOT_PROXY_ENABLED - Enable/disable the plugin (default: true)
  • COPILOT_PROXY_SMALL_MODEL - Small model ID (default: gpt-5-mini)
  • COPILOT_PROXY_LARGE_MODEL - Large model ID (default: gpt-5.1)
  • COPILOT_PROXY_TIMEOUT_SECONDS - Request timeout (default: 120)
  • COPILOT_PROXY_MAX_TOKENS - Maximum tokens (default: 8192)
  • COPILOT_PROXY_CONTEXT_WINDOW - Context window size (default: 128000)

License

MIT

Metadata

Release files for elizaos-plugin-copilot-proxy 2.0.0a5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for elizaos-plugin-copilot-proxy 2.0.0a5
File Size Uploaded
elizaos_plugin_copilot_proxy-2.0.0a5.tar.gz 14.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for elizaos-plugin-copilot-proxy 2.0.0a5
File Interpreter ABI Platform
elizaos_plugin_copilot_proxy-2.0.0a5-py3-none-any.whl Python 3 none any Details

Total release size: 26.3 kB

Release files / elizaos_plugin_copilot_proxy-2.0.0a5.tar.gz

Download URL elizaos_plugin_copilot_proxy-2.0.0a5.tar.gz
Size 14.0 kB
Tags Source
SHA-256 checksum
How to use checksums
66c9cba3c6b5d5ae19d73de30e9e4dd81f2b82e1f5ce14b5a06558333dd22b7b
BLAKE2b-256 checksum
How to use checksums
f1df6569fea9a8e354e7342aeaba63c951021252ffbf798ac467ccb5a7dde827
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / elizaos_plugin_copilot_proxy-2.0.0a5-py3-none-any.whl

Download URL elizaos_plugin_copilot_proxy-2.0.0a5-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04acb7e18af0696b5e67b1ee548d0113f7f1cde6a4c9ca33789861151168c340
BLAKE2b-256 checksum
How to use checksums
213ab961edc66c8e1bbac3e83aad097e910ed4e81f2011c8beec307389bd574a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

2.0.0a5 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page