Skip to content

Conversation

HassanBahati
Copy link
Member

@HassanBahati HassanBahati commented Sep 11, 2025

Fixes #3456

Note:
We're no longer getting serverAddress from config, because it doesn't exist on that interface any more in v2 API.

Checklist (if applicable):

},
async (input, config) => {
const serverAddress = config?.serverAddress || options.serverAddress;
const serverAddress = options.serverAddress || 'http://localhost:11434';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where does that address come from? Is there no better alternatives than having this?

},
async (input, config) => {
const serverAddress = config?.serverAddress || options.serverAddress;
const serverAddress = options.serverAddress || 'http://localhost:11434';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're no longer getting serverAddress from config, because (as far as i understand) it doesn't exist on that interface any more in v2 API.

Can we mention this in the PR description

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

refactor: migrate ollama plugin to V2 Plugin API
3 participants