mirror of
https://gh-proxy.org/https://github.com/klinsmaya/CLIProxyAPI.git
synced 2026-11-08 01:16:47 +08:00
- Added an example plugin `host-model-callback` in Go to summarize host model callbacks. - Implemented `cliproxy_plugin_init`, `cliproxyPluginCall`, and other plugin functions for callback handling. - Introduced API handlers for `ModelExecution` and `ModelExecutionStream` with support for both streaming and non-streaming requests. - Included unit tests (`model_execution_test.go`) to validate execution logic and streaming responses.
8 lines
217 B
AMPL
8 lines
217 B
AMPL
module github.com/router-for-me/CLIProxyAPI/v7/examples/plugin/host-model-callback/go
|
|
|
|
go 1.26.0
|
|
|
|
require github.com/router-for-me/CLIProxyAPI/v7 v7.0.0
|
|
|
|
replace github.com/router-for-me/CLIProxyAPI/v7 => ../../../..
|