- install local ollama or use remote API, in my case local ollama
llm install llm-ollama
llm models default qwen2.5:3b- Configure zsh. I have oh-my-zsh, should be compatible
vim ~/.zshrc
| from typing import List, Optional | |
| from fastapi import FastAPI, Query, HTTPException | |
| from fastapi.responses import FileResponse | |
| from pydantic import BaseModel, Field | |
| from enum import Enum | |
| from datetime import datetime | |
| app = FastAPI(title="Cancer Dataset API") | |
| # Enums for filter options |
| Global rules for Windsurf editor | |
| - don't apologize, just continue with your work. if your comment doesn't bring anything, don't write anything, or at most one | |
| - be more concise with your descriptions | |
| - don't write such big docstrings, just one line sometimes work. Code should have clean names to describe what's happening | |
| - do full typed code | |
| - in the end, in separate step, look how to refactor it | |
| - do OOP, but not all there is, not JAVA style | |
| - don't confirm what I wrote, just execute. | |
| - don't ask for running main command to test |
llm install llm-ollama
llm models default qwen2.5:3bvim ~/.zshrc