Amith Koujalgi
a44bd46af7
Merge pull request #236 from ollama4j/feature/thinking-param-update
...
CodeQL / Analyze (java) (push) Failing after 11s
CodeQL / Analyze (javascript) (push) Failing after 9s
Refactor Ollama API to use ThinkMode enum for "think" parameter
1.1.4
2025-11-07 15:24:10 +05:30
Amith Koujalgi
074ac712ca
Refactor Ollama API to use ThinkMode enum for "think" parameter
...
- Addresses #231
- Updated Ollama class and related methods to replace boolean "think" with ThinkMode enum for better clarity and control over thinking levels.
- Modified MetricsRecorder to accept ThinkMode instead of boolean for metrics recording.
- Adjusted OllamaChatRequest and OllamaGenerateRequest to utilize ThinkMode, including serialization support.
- Updated integration and unit tests to reflect changes in the "think" parameter handling.
- Introduced ThinkMode and ThinkModeSerializer classes to manage the new thinking parameter structure.
2025-11-07 15:17:22 +05:30
Amith Koujalgi
84e1950864
Merge pull request #232 from ollama4j/dependabot/maven/com.fasterxml.jackson.core-jackson-databind-2.20.1
...
CodeQL / Analyze (java) (push) Failing after 9s
CodeQL / Analyze (javascript) (push) Failing after 7s
Mark stale issues / stale (push) Failing after 19s
Mark stale issues and PRs / stale (push) Failing after 36s
Bump com.fasterxml.jackson.core:jackson-databind from 2.20.0 to 2.20.1
2025-11-05 19:01:29 +05:30
Amith Koujalgi
68e4a17b3d
Merge pull request #233 from ollama4j/dependabot/maven/com.fasterxml.jackson.dataformat-jackson-dataformat-yaml-2.20.1
...
Bump com.fasterxml.jackson.dataformat:jackson-dataformat-yaml from 2.20.0 to 2.20.1
2025-11-05 19:01:12 +05:30
Amith Koujalgi
a822e08b7a
Merge pull request #234 from ollama4j/dependabot/maven/com.fasterxml.jackson.datatype-jackson-datatype-jsr310-2.20.1
...
CodeQL / Analyze (javascript) (push) Failing after 1m10s
CodeQL / Analyze (java) (push) Failing after 1m12s
Mark stale issues and PRs / stale (push) Failing after 39s
Bump com.fasterxml.jackson.datatype:jackson-datatype-jsr310 from 2.20.0 to 2.20.1
2025-11-05 00:31:57 +05:30
Amith Koujalgi
a70925d842
Merge pull request #235 from ollama4j/dependabot/maven/org.junit.jupiter-junit-jupiter-api-6.0.1
...
CodeQL / Analyze (java) (push) Failing after 8s
CodeQL / Analyze (javascript) (push) Failing after 6s
Mark stale issues and PRs / stale (push) Failing after 16s
Mark stale issues / stale (push) Failing after 13s
Bump org.junit.jupiter:junit-jupiter-api from 6.0.0 to 6.0.1
2025-11-03 14:42:28 +05:30
dependabot[bot]
256ea0b2a4
Bump org.junit.jupiter:junit-jupiter-api from 6.0.0 to 6.0.1
...
Bumps [org.junit.jupiter:junit-jupiter-api](https://github.com/junit-team/junit-framework ) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/junit-team/junit-framework/releases )
- [Commits](https://github.com/junit-team/junit-framework/compare/r6.0.0...r6.0.1 )
---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-api
dependency-version: 6.0.1
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-03 00:48:56 +00:00
dependabot[bot]
03772e09eb
Bump com.fasterxml.jackson.datatype:jackson-datatype-jsr310
...
Bumps com.fasterxml.jackson.datatype:jackson-datatype-jsr310 from 2.20.0 to 2.20.1.
---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.datatype:jackson-datatype-jsr310
dependency-version: 2.20.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-03 00:48:47 +00:00
dependabot[bot]
c0da1a14cd
Bump com.fasterxml.jackson.dataformat:jackson-dataformat-yaml
...
Bumps [com.fasterxml.jackson.dataformat:jackson-dataformat-yaml](https://github.com/FasterXML/jackson-dataformats-text ) from 2.20.0 to 2.20.1.
- [Commits](https://github.com/FasterXML/jackson-dataformats-text/compare/jackson-dataformats-text-2.20.0...jackson-dataformats-text-2.20.1 )
---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.dataformat:jackson-dataformat-yaml
dependency-version: 2.20.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-03 00:48:43 +00:00
dependabot[bot]
7ba5682e9e
Bump com.fasterxml.jackson.core:jackson-databind from 2.20.0 to 2.20.1
...
Bumps [com.fasterxml.jackson.core:jackson-databind](https://github.com/FasterXML/jackson ) from 2.20.0 to 2.20.1.
- [Commits](https://github.com/FasterXML/jackson/commits )
---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.core:jackson-databind
dependency-version: 2.20.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-03 00:48:32 +00:00
Amith Koujalgi
13ccba40f7
Merge pull request #228 from ollama4j/dependabot/npm_and_yarn/docs/docsearch/js-4.2.0
...
Mark stale issues / stale (push) Failing after 8s
Mark stale issues and PRs / stale (push) Failing after 33s
CodeQL / Analyze (java) (push) Failing after 9s
CodeQL / Analyze (javascript) (push) Failing after 7s
Bump @docsearch/js from 4.1.0 to 4.2.0 in /docs
2025-11-02 21:39:34 +05:30
Amith Koujalgi
30e5598468
Merge pull request #229 from ollama4j/dependabot/maven/org.testcontainers-ollama-1.21.3
...
Bump org.testcontainers:ollama from 1.20.2 to 1.21.3
2025-11-02 21:39:17 +05:30
Amith Koujalgi
24a37ed858
Merge pull request #230 from ollama4j/snyk-upgrade-3dd2ca8c00ec72375652b43f81db0c03
...
[Snyk] Upgrade @docsearch/js from 4.1.0 to 4.2.0
2025-11-02 21:38:53 +05:30
Amith Koujalgi
fc63e1f786
Merge pull request #226 from ollama4j/fix-docs-build
...
Fix: setting tools in `generate()` method and issue #227
2025-11-02 21:37:55 +05:30
amithkoujalgi
6623c94e92
Improve code documentation in OllamaChatEndpointCaller by enhancing comments for clarity and ensuring proper null checks for message handling in streamed responses.
2025-11-02 21:18:57 +05:30
snyk-bot
349066faf9
fix: upgrade @docsearch/js from 4.1.0 to 4.2.0
...
Snyk has created this PR to upgrade @docsearch/js from 4.1.0 to 4.2.0.
See this package in npm:
@docsearch/js
See this project in Snyk:
https://app.snyk.io/org/koujalgi.amith/project/9edb01b5-ef5b-48ce-87c6-70599c1d338c?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-11-02 09:21:30 +00:00
dependabot[bot]
995fbb14ba
Bump org.testcontainers:ollama from 1.20.2 to 1.21.3
...
Bumps [org.testcontainers:ollama](https://github.com/testcontainers/testcontainers-java ) from 1.20.2 to 1.21.3.
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases )
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.20.2...1.21.3 )
---
updated-dependencies:
- dependency-name: org.testcontainers:ollama
dependency-version: 1.21.3
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-27 00:45:18 +00:00
dependabot[bot]
4a1161b88a
Bump @docsearch/js from 4.1.0 to 4.2.0 in /docs
...
Bumps [@docsearch/js](https://github.com/algolia/docsearch/tree/HEAD/packages/docsearch-js ) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/algolia/docsearch/releases )
- [Changelog](https://github.com/algolia/docsearch/blob/main/CHANGELOG.md )
- [Commits](https://github.com/algolia/docsearch/commits/v4.2.0/packages/docsearch-js )
---
updated-dependencies:
- dependency-name: "@docsearch/js"
dependency-version: 4.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-27 00:33:19 +00:00
amithkoujalgi
c628d1fa20
Enhance documentation on tool creation by outlining two methods: manual registration of static/regular methods and annotation-based tool discovery. Include a link for further reading on annotation-based registration.
2025-10-24 10:39:39 +05:30
amithkoujalgi
614f7422b6
Refactor tool handling in Ollama class to merge request-specific and globally registered tools into a single list, ensuring original requests remain unmodified. Also, remove unnecessary newline in documentation for model pulling command.
2025-10-23 22:20:24 +05:30
Amith Koujalgi
b456feda64
Merge pull request #225 from ollama4j/fix-docs-build
...
CodeQL / Analyze (java) (push) Failing after 12s
CodeQL / Analyze (javascript) (push) Failing after 10s
Mark stale issues / stale (push) Failing after 16s
Mark stale issues and PRs / stale (push) Failing after 33s
Update Docs Build GHA
1.1.3
2025-10-23 12:11:35 +05:30
amithkoujalgi
1c1452836d
Merge branch 'main' into fix-docs-build
2025-10-23 11:56:56 +05:30
amithkoujalgi
1bca07ecb8
Add workflow_dispatch trigger to build-on-pull-request.yml for manual execution
2025-10-23 11:51:20 +05:30
amithkoujalgi
47c5943137
Update dependencies in package.json and package-lock.json to version 3.9.2 for various Docusaurus packages, including @docusaurus/core, @docusaurus/preset-classic, and @docusaurus/theme-mermaid. Also, upgrade @ai-sdk/gateway to version 2.0.0 and @algolia packages to version 5.41.0. Add @vercel/oidc package version 3.0.3.
2025-10-23 11:44:31 +05:30
amithkoujalgi
3061b2d8ef
Merge branch 'main' into fix-docs-build
2025-10-23 11:19:56 +05:30
Amith Koujalgi
531f063cc9
Merge pull request #212 from ollama4j/dependabot/npm_and_yarn/docs/docsearch/js-4.2.0
...
Bump @docsearch/js from 4.1.0 to 4.2.0 in /docs
2025-10-23 11:19:36 +05:30
Amith Koujalgi
887a9e1bfc
Merge pull request #213 from ollama4j/dependabot/maven/org.projectlombok-lombok-1.18.42
...
Bump org.projectlombok:lombok from 1.18.40 to 1.18.42
2025-10-23 11:19:12 +05:30
Amith Koujalgi
10e2a606b5
Merge pull request #219 from ollama4j/dependabot/npm_and_yarn/docs/docusaurus/preset-classic-3.9.2
...
Bump @docusaurus/preset-classic from 3.9.1 to 3.9.2 in /docs
2025-10-23 11:18:59 +05:30
Amith Koujalgi
d589315d23
Merge pull request #218 from ollama4j/dependabot/github_actions/actions/setup-node-6
...
Bump actions/setup-node from 5 to 6
2025-10-23 11:18:47 +05:30
Amith Koujalgi
95cc2164d3
Merge pull request #214 from ollama4j/dependabot/maven/org.junit.jupiter-junit-jupiter-api-6.0.0
...
Bump org.junit.jupiter:junit-jupiter-api from 5.13.4 to 6.0.0
2025-10-23 11:18:36 +05:30
Amith Koujalgi
970d54bcb5
Merge pull request #217 from ollama4j/dependabot/maven/org.sonatype.central-central-publishing-maven-plugin-0.9.0
...
Bump org.sonatype.central:central-publishing-maven-plugin from 0.8.0 to 0.9.0
2025-10-23 11:18:26 +05:30
Amith Koujalgi
e326936d3d
Merge pull request #211 from ollama4j/dependabot/github_actions/github/codeql-action-4
...
Bump github/codeql-action from 3 to 4
2025-10-23 11:18:08 +05:30
Amith Koujalgi
9b916480b2
Merge pull request #216 from ollama4j/dependabot/maven/org.jacoco-jacoco-maven-plugin-0.8.14
...
Bump org.jacoco:jacoco-maven-plugin from 0.8.13 to 0.8.14
2025-10-23 11:17:56 +05:30
Amith Koujalgi
83d292671a
Merge pull request #210 from ollama4j/snyk-upgrade-8a0a753719bdd0b263a1412cd892d136
...
[Snyk] Upgrade org.projectlombok:lombok from 1.18.40 to 1.18.42
2025-10-23 11:17:39 +05:30
amithkoujalgi
dcf2a0fdb6
Merge branch 'main' into fix-docs-build
2025-10-23 11:16:29 +05:30
dependabot[bot]
1ba0f02af6
Bump @docusaurus/preset-classic from 3.9.1 to 3.9.2 in /docs
...
Bumps [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic ) from 3.9.1 to 3.9.2.
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v3.9.2/packages/docusaurus-preset-classic )
---
updated-dependencies:
- dependency-name: "@docusaurus/preset-classic"
dependency-version: 3.9.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-23 05:46:28 +00:00
dependabot[bot]
74e6777b7c
Bump @docsearch/js from 4.1.0 to 4.2.0 in /docs
...
Bumps [@docsearch/js](https://github.com/algolia/docsearch/tree/HEAD/packages/docsearch-js ) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/algolia/docsearch/releases )
- [Changelog](https://github.com/algolia/docsearch/blob/main/CHANGELOG.md )
- [Commits](https://github.com/algolia/docsearch/commits/v4.2.0/packages/docsearch-js )
---
updated-dependencies:
- dependency-name: "@docsearch/js"
dependency-version: 4.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-23 05:46:15 +00:00
Amith Koujalgi
849ae77712
Merge pull request #220 from ollama4j/dependabot/maven/ch.qos.logback-logback-classic-1.5.20
...
Bump ch.qos.logback:logback-classic from 1.5.18 to 1.5.20
2025-10-23 11:16:07 +05:30
Amith Koujalgi
fcd0fbe4b3
Merge pull request #221 from ollama4j/dependabot/npm_and_yarn/docs/docusaurus/plugin-google-gtag-3.9.2
...
Bump @docusaurus/plugin-google-gtag from 3.9.1 to 3.9.2 in /docs
2025-10-23 11:13:56 +05:30
amithkoujalgi
066df6b369
Enhance agent documentation by refining the definition and benefits of agents, improving clarity on YAML configuration parameters, and updating the sample interaction. Additionally, modify the Agent class to pull the model during initialization, ensuring proper setup for agent functionality.
2025-10-23 11:10:06 +05:30
dependabot[bot]
1fbfe8a18c
Bump @docusaurus/plugin-google-gtag from 3.9.1 to 3.9.2 in /docs
...
Bumps [@docusaurus/plugin-google-gtag](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-plugin-google-gtag ) from 3.9.1 to 3.9.2.
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v3.9.2/packages/docusaurus-plugin-google-gtag )
---
updated-dependencies:
- dependency-name: "@docusaurus/plugin-google-gtag"
dependency-version: 3.9.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-22 12:04:31 +00:00
Amith Koujalgi
23785bb5b7
Merge pull request #222 from ollama4j/dependabot/npm_and_yarn/docs/docusaurus/core-3.9.2
...
CodeQL / Analyze (java) (push) Failing after 11s
CodeQL / Analyze (javascript) (push) Failing after 8s
Mark stale issues / stale (push) Failing after 12s
Mark stale issues and PRs / stale (push) Failing after 10s
Bump @docusaurus/core from 3.9.1 to 3.9.2 in /docs
2025-10-22 17:33:09 +05:30
dependabot[bot]
00cd2a0adf
Bump @docusaurus/core from 3.9.1 to 3.9.2 in /docs
...
Bumps [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus ) from 3.9.1 to 3.9.2.
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v3.9.2/packages/docusaurus )
---
updated-dependencies:
- dependency-name: "@docusaurus/core"
dependency-version: 3.9.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-22 07:34:56 +00:00
Amith Koujalgi
49fac9d2cf
Merge pull request #223 from ollama4j/dependabot/npm_and_yarn/docs/docusaurus/module-type-aliases-3.9.2
...
CodeQL / Analyze (java) (push) Failing after 8s
CodeQL / Analyze (javascript) (push) Failing after 6s
Bump @docusaurus/module-type-aliases from 3.9.1 to 3.9.2 in /docs
2025-10-22 13:03:22 +05:30
amithkoujalgi
ca1a73fa76
Improved agent documentation
2025-10-22 13:01:19 +05:30
amithkoujalgi
adbf6a8185
Enhance agent documentation by adding interactive examples using the TypewriterTextarea component. Update the content to demonstrate sample interactions, improving clarity and user engagement.
2025-10-22 12:08:52 +05:30
amithkoujalgi
57adaafb42
Refactor Javadoc comments in Agent class for consistency and clarity, consolidating multi-line comments into single-line format. Update interact method to return chat history instead of a string response, enhancing functionality and documentation.
2025-10-21 10:35:06 +05:30
amithkoujalgi
ad03c784e5
Clarify Tool Functions section in agent documentation by removing redundant text in YAML registration instructions for Java classes.
2025-10-20 23:37:53 +05:30
amithkoujalgi
2e245a0e16
Implement Tool Functions section in agent documentation, detailing how to register Java classes for agent functionality. Update YAML configuration instructions accordingly.
2025-10-20 23:36:29 +05:30
amithkoujalgi
7c0c4e38ed
Update Maven configuration to disable error failures and modify GitHub Actions workflow to skip GPG signing and tests during the build process.
2025-10-20 22:57:42 +05:30