- install ollama
brew install ollama
- check you can run deepseek:
ollama run deepseek-r1:14b
(bigger model is better - if you can run 70B that is amazing!)
| #!/bin/bash | |
| set -e | |
| # Configuration | |
| PORT=62996 | |
| SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | |
| # Check for goosed binary in multiple locations | |
| if command -v goosed &> /dev/null; then | |
| # goosed is on PATH |
| Having implemented a swift client to goosed (and others), some feedback on it as a general api: | |
| Improvements: | |
| * making it easy to start a blank session with config "as is" on disk: ie provider, and extensions, should be one shot (vs now which is many calls) | |
| * goose-server/ui/desktop/openapi.json can be removed, not sure why it is there. It may also be possible to get rid of the ui/desktop/openapi.json and just generate it on the fly, not commit? | |
| * we use a simple api key approach, might be nicer to specify a non shared secret approach with PKI (but still easy to implement from client side) | |
| Tidy ups/Questions: | |
| * extensions are listed in /config, but enabled in /extensions/add endpoint, which seems kind of inconstent | |
| * you can add/remove to /extensions, but not clearly documented if you can (and what it means) to add a non enabled extension. |
| #!/bin/bash | |
| # Git Work Summary Script | |
| echo "=========================================" | |
| echo "GIT WORK SUMMARY" | |
| echo "=========================================" | |
| echo "" | |
| # Get current git user |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Goose Deeplink Generator</title> | |
| <style> | |
| body { | |
| font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; | |
| max-width: 800px; |
| #!/bin/sh | |
| # Run Goose AI check on staged files | |
| files=$(git diff --cached --name-only --diff-filter=ACM | grep -E '\.txt$|\.md$|\.rst$') | |
| if [ -z "$files" ]; then | |
| exit 0 | |
| fi | |
| echo "Running Goose AI spell check..." |
brew install ollama
ollama run deepseek-r1:14b
(bigger model is better - if you can run 70B that is amazing!)
| store := &InMemoryKVStore{data: make(map[string]string)} | |
| store.Set("key1", "value1") | |
| value, err := store.Get("key1") | |
| if err != nil { | |
| // handle error | |
| } | |
| store.Delete("key1") | |
| results, err := store.Query("value") | |
| if err != nil { | |
| // handle error |
| This is a riddle solver. | |
| ### | |
| Riddle: Whats black and white and red all over? | |
| Answer: A newspaper | |
| ### | |
| Riddle: What dries by getting wet? | |
| Answer: A towel |
| def honeycomb_setup() { | |
| script { | |
| env.STEP_START = sh(script:'date +%s', returnStdout: true).trim() | |
| env.STEP_SPAN_ID = sh(script:'uuidgen', returnStdout: true).trim() | |
| } | |
| } | |
| def install_buildevents() { | |
| sh""" | |
| curl -L -o buildevents https://github.com/honeycombio/buildevents/releases/latest/download/buildevents-linux-amd64 curl -L -o buildevents https://github.com/honeycombio/buildevents/releases/latest/download/buildevents-linux-amd64 | |
| chmod 755 buildevents |