Fix unmarshalling issues and adjust logging for debugging

Modify `FunctionCall` struct to handle arguments as strings. Add debugging logs to facilitate error tracing and improve JSON unmarshalling in various functions.
This commit is contained in:
2024-11-11 00:23:00 -05:00
parent a83d5f9822
commit 7a43e3a5c8
5 changed files with 82 additions and 20 deletions

3
go.mod
View File

@@ -4,9 +4,12 @@ go 1.23.2
replace gitea.stevedudenhoeffer.com/steve/go-llm => ../go-llm
replace github.com/rocketlaunchr/google-search => github.com/chrisjoyce911/google-search v0.0.0-20230910003754-e501aedf805a
require (
gitea.stevedudenhoeffer.com/steve/go-llm v0.0.0-20241031152103-f603010dee49
github.com/advancedlogic/GoOse v0.0.0-20231203033844-ae6b36caf275
github.com/joho/godotenv v1.5.1
github.com/playwright-community/playwright-go v0.4702.0
github.com/rocketlaunchr/google-search v1.1.6
github.com/urfave/cli v1.22.16