You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1570 Support a configurable Ollama base URL in the AI Providers catalog
Ollama chat and embedding models built from the AI Providers catalog only
received an API key, so a custom Ollama server URL was ignored and the client
always hit the localhost default.
- ApplicationProperties: add bytechef.ai.provider.ollama.url as the config-level
fallback for both chat and embedding.
- AiProviderFacade: store an optional url alongside the api key in the per-
environment property map; resolve it (catalog -> config fallback); expose it on
AiProviderDTO and AiDefaultModelWithApiKeyDTO; new getUrl / resolveUrl /
getConfigUrl. Ollama needs no API key, so resolveWithApiKey no longer rejects a
blank key for it.
- Catalog factories: createChatModel/createEmbeddingModel now thread a url into
the connection parameters (OllamaConstants.URL) when present; callers and their
delegate cache keys include the url.
- OllamaChatAction.CHAT_MODEL: read the response format optionally instead of
requiring it, so the model can be built outside the ask action (e.g. the
catalog) without a NullPointerException.
- REST: add url to the UpdateAiProviderRequest and AiProvider OpenAPI schemas
(response url is not obfuscated) and regenerate.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: server/ee/libs/platform/platform-ai/platform-ai-agent/platform-ai-agent-service/src/main/java/com/bytechef/ee/platform/ai/agent/catalog/CatalogChatClientResolverImpl.java
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -57,11 +57,14 @@ public CatalogChatClientResolverImpl(
Copy file name to clipboardExpand all lines: server/ee/libs/platform/platform-ai/platform-ai-agent/platform-ai-agent-service/src/main/java/com/bytechef/ee/platform/ai/agent/catalog/CatalogChatModel.java
Copy file name to clipboardExpand all lines: server/ee/libs/platform/platform-ai/platform-ai-agent/platform-ai-agent-service/src/main/java/com/bytechef/ee/platform/ai/agent/catalog/CatalogChatModelFactory.java
Copy file name to clipboardExpand all lines: server/ee/libs/platform/platform-ai/platform-ai-agent/platform-ai-agent-service/src/main/java/com/bytechef/ee/platform/ai/agent/catalog/CatalogEmbeddingModel.java
Copy file name to clipboardExpand all lines: server/ee/libs/platform/platform-ai/platform-ai-agent/platform-ai-agent-service/src/main/java/com/bytechef/ee/platform/ai/agent/catalog/CatalogEmbeddingModelFactory.java
Copy file name to clipboardExpand all lines: server/ee/libs/platform/platform-ai/platform-ai-agent/platform-ai-agent-service/src/test/java/com/bytechef/ee/platform/ai/agent/catalog/CatalogChatClientResolverTest.java
Copy file name to clipboardExpand all lines: server/ee/libs/platform/platform-ai/platform-ai-agent/platform-ai-agent-service/src/test/java/com/bytechef/ee/platform/ai/agent/catalog/CatalogChatModelFactoryTest.java
+11-2Lines changed: 11 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ class CatalogChatModelFactoryTest {
Copy file name to clipboardExpand all lines: server/ee/libs/platform/platform-ai/platform-ai-agent/platform-ai-agent-service/src/test/java/com/bytechef/ee/platform/ai/agent/catalog/CatalogChatModelTest.java
Copy file name to clipboardExpand all lines: server/ee/libs/platform/platform-ai/platform-ai-agent/platform-ai-agent-service/src/test/java/com/bytechef/ee/platform/ai/agent/catalog/CatalogEmbeddingModelFactoryTest.java
+12-3Lines changed: 12 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -28,21 +28,30 @@ class CatalogEmbeddingModelFactoryTest {
Copy file name to clipboardExpand all lines: server/ee/libs/platform/platform-ai/platform-ai-agent/platform-ai-agent-service/src/test/java/com/bytechef/ee/platform/ai/agent/catalog/CatalogEmbeddingModelTest.java
0 commit comments