展示 HN:使用 mistral.rs v0.8.10 运行代理技能:/v1/skills 支持及更多功能
大家好!
我是mistral.rs的维护者。我刚刚实现了通过/v1/skills端点支持与OpenAI兼容的代理技能,并且它可以与本地开放模型一起使用。
到目前为止,技能基本上只能用于封闭模型,而随着私有本地智能变得越来越重要,这个功能允许您使用本地模型进行XYZ操作。
它与OpenAI的/v1/skills API完全兼容,因此您可以轻松地将mistral.rs集成到现有代码中。
我们也支持相关工具:/v1/files或input_file用于将文件附加到您的提示中,mistral.rs还允许模型使用与OpenAI兼容的方法发送生成的文件。
尝试mistral.rs比以往任何时候都更简单:我们提供了适用于NVIDIA CUDA、Apple Silicon和CPU的预构建二进制文件!
# Linux/Mac
> curl --proto '=https' --tlsv1.2 -sSf [https://raw.githubusercontent.com/EricLBuehler/mistral.rs/master/install.sh](https://raw.githubusercontent.com/EricLBuehler/mistral.rs/master/install.sh) | sh
# Windows
> irm [https://raw.githubusercontent.com/EricLBuehler/mistral.rs/master/install.ps1](https://raw.githubusercontent.com/EricLBuehler/mistral.rs/master/install.ps1) | iex
然后:
mistralrs serve --agent --isq 4 -m google/gemma-4-E4B-it
我非常期待您尝试这个功能,并欢迎任何反馈!您对下一个版本有什么建议吗?
请查看GitHub:[https://github.com/EricLBuehler/mistral.rs](https://github.com/EricLBuehler/mistral.rs)
文档与快速入门:[https://ericlbuehler.github.io/mistral.rs/](https://ericlbuehler.github.io/mistral.rs/)
查看原文
Hey all!
I'm the maintainer of mistral.rs. I just landed support for OpenAI-compatible Agent Skills via a /v1/skills endpoint, and it works with local open models.<p>Until now Skills have basically been locked to closed models, and with the ability to have private, local intelligence becoming increasingly important, but this feature allows you to do XYZ with local models.<p>It's fully compatible with OpenAI's /v1/skills API, so you can drop mistral.rs into your existing code with minimal difficulty.<p>We support the accompanying tools too: /v1/files or input_file for attaching files to your prompts, and mistral.rs also allows models to send generated files
back using the OpenAI-compatible method.<p>It's also easier than ever to try mistral.rs: we are including prebuilt binaries for NVIDIA CUDA, Apple Silicon, and CPU!
# Linux/Mac
> curl --proto '=https' --tlsv1.2 -sSf <a href="https://raw.githubusercontent.com/EricLBuehler/mistral.rs/master/install.sh" rel="nofollow">https://raw.githubusercontent.com/EricLBuehler/mistral.rs/ma...</a> | sh
# Windows
> irm <a href="https://raw.githubusercontent.com/EricLBuehler/mistral.rs/master/install.ps1" rel="nofollow">https://raw.githubusercontent.com/EricLBuehler/mistral.rs/ma...</a> | iex<p>Then:
mistralrs serve --agent --isq 4 -m google/gemma-4-E4B-it<p>Super excited for you to try this out and any feedback! Do you have any suggestions for what you would like to see in the next releases?<p>Check out the GitHub: <a href="https://github.com/EricLBuehler/mistral.rs" rel="nofollow">https://github.com/EricLBuehler/mistral.rs</a>
Docs & Quickstart: <a href="https://ericlbuehler.github.io/mistral.rs/" rel="nofollow">https://ericlbuehler.github.io/mistral.rs/</a>