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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

elizaos_plugin_copilot_proxy-2.0.0a5.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

elizaos_plugin_copilot_proxy-2.0.0a5-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file elizaos_plugin_copilot_proxy-2.0.0a5.tar.gz.

File metadata

File hashes

Hashes for elizaos_plugin_copilot_proxy-2.0.0a5.tar.gz
Algorithm Hash digest
SHA256 66c9cba3c6b5d5ae19d73de30e9e4dd81f2b82e1f5ce14b5a06558333dd22b7b
MD5 926a71dd56c6b3a909f76c8acb1b736d
BLAKE2b-256 f1df6569fea9a8e354e7342aeaba63c951021252ffbf798ac467ccb5a7dde827

See more details on using hashes here.

File details

Details for the file elizaos_plugin_copilot_proxy-2.0.0a5-py3-none-any.whl.

File metadata

File hashes

Hashes for elizaos_plugin_copilot_proxy-2.0.0a5-py3-none-any.whl
Algorithm Hash digest
SHA256 04acb7e18af0696b5e67b1ee548d0113f7f1cde6a4c9ca33789861151168c340
MD5 023ac6eb31c0e142d0901e1fad4d4cf4
BLAKE2b-256 213ab961edc66c8e1bbac3e83aad097e910ed4e81f2011c8beec307389bd574a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.0.0a5 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page