ccproxy.plugins.copilot.routes¶
ccproxy.plugins.copilot.routes
¶
CopilotEmbeddingRequestAPI routes for GitHub Copilot plugin.
create_openai_chat_completion
async
¶
create_openai_chat_completion(
request,
adapter,
_=Body(..., include_in_schema=True),
body=Depends(_get_request_body, use_cache=False),
)
Create a chat completion using Copilot with OpenAI-compatible format.
Source code in ccproxy/plugins/copilot/routes.py
create_responses_message
async
¶
Create a message using Response API with OpenAI provider.
Source code in ccproxy/plugins/copilot/routes.py
list_models_v1
async
¶
List available Copilot models.
Source code in ccproxy/plugins/copilot/routes.py
get_usage_stats
async
¶
Get Copilot usage statistics.
Source code in ccproxy/plugins/copilot/routes.py
get_token_status
async
¶
Get Copilot usage statistics.
Source code in ccproxy/plugins/copilot/routes.py
health_check
async
¶
Check Copilot plugin health.
Source code in ccproxy/plugins/copilot/routes.py
206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 | |