Skip to content

Conversation

HassanBahati
Copy link
Member

@HassanBahati HassanBahati commented Sep 11, 2025

Fixes #3456

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) => {
Copy link
Member

Choose a reason for hiding this comment

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

Rename input to request, as I believe this better reflects the params intentions here.


const DEFAULT_OLLAMA_SERVER_ADDRESS = 'http://localhost:11434';

async function initializer(
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps keep this code in the same position, just so the PR is not as large.

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