From a70011a7e9098fad6b33c57452ff41bee2c219ae Mon Sep 17 00:00:00 2001 From: Ilya Sharov <38953103+xsharov@users.noreply.github.com> Date: Thu, 10 Apr 2025 21:13:38 +0300 Subject: [PATCH 1/2] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 0110af1..c7f7697 100644 --- a/readme.md +++ b/readme.md @@ -28,7 +28,7 @@ You can provide your **OpenRouter** (OpenAI-compatible) API key through an envir ./ollama-proxy "your-openrouter-api-key" -Once running, the proxy listens on port `8080`. You can make requests to `http://localhost:8080` with your Ollama-compatible tooling. +Once running, the proxy listens on port `11434`. You can make requests to `http://localhost:11434` with your Ollama-compatible tooling. ## Installation 1. **Clone the Repository**: From 17d8f315102990300cf1ddd5b778994386b64edc Mon Sep 17 00:00:00 2001 From: Ilya Sharov <38953103+xsharov@users.noreply.github.com> Date: Thu, 10 Apr 2025 21:14:06 +0300 Subject: [PATCH 2/2] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index c7f7697..d3af80a 100644 --- a/readme.md +++ b/readme.md @@ -11,7 +11,7 @@ Currently, it is enough for usage with [Jetbrains AI assistant](https://blog.jet **Note**: OpenRouter model names may sometimes include a vendor prefix, for example `deepseek/deepseek-chat-v3-0324:free`. To make sure filtering works correctly, remove the vendor part when adding the name to your `models-filter` file, e.g. `deepseek-chat-v3-0324:free`. -- **Ollama-like API**: The server listens on `8080` and exposes endpoints similar to Ollama (e.g., `/api/chat`, `/api/tags`). +- **Ollama-like API**: The server listens on `11434` and exposes endpoints similar to Ollama (e.g., `/api/chat`, `/api/tags`). - **Model Listing**: Fetch a list of available models from OpenRouter. - **Model Details**: Retrieve metadata about a specific model. - **Streaming Chat**: Forward streaming responses from OpenRouter in a chunked JSON format that is compatible with Ollama’s expectations.