c2e0414d56
readme
2025-06-23 17:27:37 +02:00
491ff811c3
readme
2025-06-23 11:35:47 +02:00
c4c87566c7
docker compose, build
2025-06-23 11:35:08 +02:00
8f77b4bb4a
cleanup
2025-06-23 11:21:12 +02:00
19ad866186
docs, default to free mode
2025-06-23 11:18:15 +02:00
e018dfa8e5
working version
2025-06-23 10:45:00 +02:00
6190676f2c
Merge pull request #1 from aljazceru/codex/add-free-model-selection-with-fallback-and-logging
...
Enable free mode with automatic model fallback
2025-06-22 15:32:10 +02:00
6189c2f8d0
Add free mode with automatic free model selection
2025-06-22 15:09:15 +02:00
Ilya Sharov
8609e6854e
Fix streaming response issues in Ollama-OpenRouter proxy
...
This commit addresses two issues in the Ollama-OpenRouter proxy:
Fixed "Cannot read properties of undefined (reading 'content')" error:
Added missing "message" field with empty content to the final streaming response
This ensures the frontend can always access message.content without errors
Improved model name handling in GetFullModelName:
Added check to populate model list if empty
Implemented multi-stage matching (exact match, then suffix match)
Fallback to using the provided model name directly if no match found
This allows direct use of model names like 'deepseek-chat-v3-0324:free'
Added logging for model name resolution to help with debugging
2025-04-11 14:31:30 +03:00
Ilya Sharov
23ba329eca
Merge branch 'main' of https://github.com/xsharov/ollama-openrouter-proxy
2025-04-11 00:33:56 +03:00
Ilya Sharov
0eb365f44c
Fixed json format and endstream
2025-04-11 00:33:49 +03:00
Ilya Sharov
17d8f31510
Update readme.md
2025-04-10 21:14:06 +03:00
Ilya Sharov
a70011a7e9
Update readme.md
2025-04-10 21:13:38 +03:00
Ilya Sharov
c1e465c698
models-filter sample rename
2025-04-10 20:34:14 +03:00
Ilya Sharov
5469a27e7e
models-filter sample
2025-04-10 20:32:52 +03:00
Ilya Sharov
cf3645e1dd
added model filtering and enchanted app compatibly
2025-04-10 20:26:26 +03:00
Ilya Sharov
c6dc1bb1db
Added StatusOK if client request HEAD
2025-04-10 19:24:33 +03:00
Mark Nefedov
f140fdd8d2
Update action
2024-12-25 01:28:14 +03:00
Mark Nefedov
7dac79721a
Create github-container-registry.yml
2024-12-25 01:27:27 +03:00
Mark Nefedov
bf5efd7bcb
Update dockerfile
2024-12-25 01:24:01 +03:00
Mark Nefedov
8fcd61a83b
Add Dockerfile
2024-12-25 01:20:07 +03:00
Mark Nefedov
7b9b694cff
Add readme
2024-12-25 01:08:50 +03:00
Mark Nefedov
58471429dd
Update dependencies to latest versions in go.mod and go.sum
2024-12-25 00:58:18 +03:00
Mark Nefedov
88d5a394cf
Somewhat better error handling.
2024-12-25 00:56:04 +03:00
Mark Nefedov
fe692b39cd
Initial commit
2024-12-25 00:48:58 +03:00