OpenCode + Ollamaで、Tool callがうまくいくモデルを模索している

こんにちは、ナナオです。 突然ですが、ローカルLLM使っていますか? 私は使いたいのですが、デスクトップもメモリもよわよわすぎて、なかなか使うのに奮闘しています。 今回は私が使ってきたモデルの一覧を紹介しようと思います。 使っているPCのスペックは以下の通り。 CPU: AMD Ryzen 9 3900 メモリ: 24GB GPU: GeForce GTX 1660 SUPER 使ったプロンプトは、opencodeの/initコマンドを実行した際の以下の一文(一部改変しています) Please analyze this codebase and create an AGENTS.md file containing: 1. Build/lint/test commands - especially for running a single test 2. Code style guidelines including imports, formatting, types, naming conventions, error handling, etc. The file you create will be given to agentic coding agents (such as yourself) that operate in this repository. Make it about 150 lines long. If there are Cursor rules (in .cursor/rules/ or .cursorrules) or Copilot rules (in .github/copilot-instructions.md), make sure to include them. If there's already an AGENTS.md, improve it if it's located in <プロジェクトディレクトリ> Pythonプロジェクト上で/initコマンドを実行し、プロジェクトディレクトリを読んでそれに合ったAGENTS.mdを出力するか検証しています。 ...

2026年1月25日 · にあえん