-
-
Notifications
You must be signed in to change notification settings - Fork 804
Add Google Gemini backend for AI chat #2602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
c13aa7e
eba8620
684c1b9
9747f9b
7963afb
9818d06
6c3dd9c
f6452f1
2401379
2ade244
9dbe9b9
2b26813
614e4dd
6e47388
da0a37e
aab62e4
3c35382
dbf727f
0d9b678
8f965e7
5a23ba8
32b4cda
b5b9092
1faff3e
1fbc09b
d02100b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -79,6 +79,7 @@ require ( | |
| github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect | ||
| github.com/mailru/easyjson v0.7.7 // indirect | ||
| github.com/mattn/go-isatty v0.0.20 // indirect | ||
| github.com/outrigdev/goid v0.3.0 // indirect | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Check if goid appears in go.sum
echo "=== Checking go.sum for goid ==="
grep "goid" go.sum | head -20
echo -e "\n=== Checking go.mod for goid ==="
grep "goid" go.mod
# List all entries in go.mod to see context
echo -e "\n=== All entries in go.mod indirect section (lines 46-107) ==="
sed -n '46,107p' go.mod | head -30
# Check if goid is mentioned anywhere else in the repo
echo -e "\n=== Searching for goid in repository ==="
rg "goid" --type go --type mod -i | head -20Repository: wavetermdev/waveterm Length of output: 2224 🏁 Script executed: #!/bin/bash
# Search for goid in the context of Go dependencies
# Check if we can find which package requires goid by looking at import statements
echo "=== Searching for goid imports in Go source files ==="
rg "goid" --type go -C 3
echo -e "\n=== Check if goid is referenced in any documentation ==="
fd -t f "\.md$|\.txt$" | xargs grep -l "goid" 2>/dev/null || echo "No matches in docs"
# Try to find if goid is a common utility package
echo -e "\n=== Checking go.mod for clues about dependency relationships ==="
# Look at the structure to understand which packages are related to Gemini
grep -E "google|gemini|ai|cloud" go.mod | head -15Repository: wavetermdev/waveterm Length of output: 3826 🌐 Web query:
💡 Result: The github.com/outrigdev/goid package provides fast retrieval of the current goroutine ID. It uses version- and arch-specific assembly (optimized for Go 1.23–1.25 on amd64/arm64) and falls back to parsing runtime.Stack() when the optimized path isn’t available. It’s intended for debugging/dev-time observability (used by Outrig) and not recommended for production logic since goroutine IDs are an internal runtime detail. [1][2] Sources:
Remove the unrelated The 🤖 Prompt for AI Agents |
||
| github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect | ||
| github.com/rivo/uniseg v0.4.7 // indirect | ||
| github.com/sirupsen/logrus v1.9.3 // indirect | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix incorrect flag descriptions.
The descriptions for t3 and t4 are incorrect:
testT3uses "gpt-4o"Apply this diff to fix the descriptions:
📝 Committable suggestion
🤖 Prompt for AI Agents