feat: Implement Ollama OAI Bridge with core functionality

- Add BridgeProperties class for configuration management.
- Create GatewayProxyConfiguration to define routing and proxying logic.
- Implement LlamaServerClient for communication with the upstream Llama server.
- Develop OllamaDiscoveryController to handle API requests and responses.
- Introduce OllamaDiscoveryService for business logic and data processing.
- Set up OllamaOaiBridgeApplication as the main entry point for the application.
- Add RequestBodyCachingFilter to cache request bodies for processing.
- Create application.properties for configuration settings.
- Implement unit tests for the application to ensure functionality.
- Add start.sh script for easy application startup.
This commit is contained in:
extio-de
2026-05-15 18:54:44 +02:00
commit 4dac2ae7af
16 changed files with 1641 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
spring.application.name=ollama-oai-bridge
server.port=11434
bridge.upstream-base-url=http://localhost:5001
bridge.version=0.24.0