Skip to content

Tool calling from LFM2 and LFM2.5? #72

@alfiedotwtf

Description

@alfiedotwtf

Your model looks impressive and I wanted to fall in love with it...

Your docs say that LFM2 does native tool calling, but the amount of debugging I've had to churn through to get ollama up and running with your models was 😮‍💨

Is there any smoother way of getting LFM2 and LFM2.5 working with Ollama + tooling?

The main problem is that even though your docs say tooling is pythonic, there's a mix of native, json and even xml! So to use opencode with lfm2, I've had to write a proxy to intercept messages, strip out the inconsistent tooling conventions, and then reluctantly run unix commands bare when they should be going through the bash tool (because it's ignoring my prompt).

Maybe it's me and I've been doing things wrong, but I cant find anyone else who's managed to get your models working agentically. If this was a lot smoother, lfm2* could be the talk of the town!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions