├── .dockerignore ├── .gitignore ├── Controllers └── GatewayController.cs ├── Dockerfile ├── FireFlyGateway.csproj ├── FireFlyGateway.http ├── FireFlyGateway.sln ├── Firefly Gateway.png ├── LICENSE ├── Program.cs ├── README.md ├── README.zh-CN.md ├── Services ├── DefaultAiGatewayProcessor.cs ├── IAiGatewayProcessor.cs └── ProviderProcessors │ ├── AnthropicProcessor.cs │ ├── GeminiProcessor.cs │ ├── IProviderProcessor.cs │ ├── OpenAiProcessor.cs │ └── OverWriteRoleRule.cs ├── appsettings.json └── rules.json /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarlcxChina/FireflyGateway/HEAD/.dockerignore -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarlcxChina/FireflyGateway/HEAD/.gitignore -------------------------------------------------------------------------------- /Controllers/GatewayController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarlcxChina/FireflyGateway/HEAD/Controllers/GatewayController.cs -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarlcxChina/FireflyGateway/HEAD/Dockerfile -------------------------------------------------------------------------------- /FireFlyGateway.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarlcxChina/FireflyGateway/HEAD/FireFlyGateway.csproj -------------------------------------------------------------------------------- /FireFlyGateway.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarlcxChina/FireflyGateway/HEAD/FireFlyGateway.http -------------------------------------------------------------------------------- /FireFlyGateway.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarlcxChina/FireflyGateway/HEAD/FireFlyGateway.sln -------------------------------------------------------------------------------- /Firefly Gateway.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarlcxChina/FireflyGateway/HEAD/Firefly Gateway.png -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarlcxChina/FireflyGateway/HEAD/LICENSE -------------------------------------------------------------------------------- /Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarlcxChina/FireflyGateway/HEAD/Program.cs -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarlcxChina/FireflyGateway/HEAD/README.md -------------------------------------------------------------------------------- /README.zh-CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarlcxChina/FireflyGateway/HEAD/README.zh-CN.md -------------------------------------------------------------------------------- /Services/DefaultAiGatewayProcessor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarlcxChina/FireflyGateway/HEAD/Services/DefaultAiGatewayProcessor.cs -------------------------------------------------------------------------------- /Services/IAiGatewayProcessor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarlcxChina/FireflyGateway/HEAD/Services/IAiGatewayProcessor.cs -------------------------------------------------------------------------------- /Services/ProviderProcessors/AnthropicProcessor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarlcxChina/FireflyGateway/HEAD/Services/ProviderProcessors/AnthropicProcessor.cs -------------------------------------------------------------------------------- /Services/ProviderProcessors/GeminiProcessor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarlcxChina/FireflyGateway/HEAD/Services/ProviderProcessors/GeminiProcessor.cs -------------------------------------------------------------------------------- /Services/ProviderProcessors/IProviderProcessor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarlcxChina/FireflyGateway/HEAD/Services/ProviderProcessors/IProviderProcessor.cs -------------------------------------------------------------------------------- /Services/ProviderProcessors/OpenAiProcessor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarlcxChina/FireflyGateway/HEAD/Services/ProviderProcessors/OpenAiProcessor.cs -------------------------------------------------------------------------------- /Services/ProviderProcessors/OverWriteRoleRule.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarlcxChina/FireflyGateway/HEAD/Services/ProviderProcessors/OverWriteRoleRule.cs -------------------------------------------------------------------------------- /appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarlcxChina/FireflyGateway/HEAD/appsettings.json -------------------------------------------------------------------------------- /rules.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarlcxChina/FireflyGateway/HEAD/rules.json --------------------------------------------------------------------------------