miso-tavily

module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2026 License: Apache-2.0

README

miso-tavily

go get github.com/curtisnewbie/miso-tavily
func TestStreamResearch(t *testing.T) {
	rail := flow.EmptyRail()
	reportContent, err := StreamResearch(rail, "my-key", InitResearchReq{
		CitationFormat: "numbered",
		Input:          "How finetuning works?",
		Model:          "mini",
	}, WithProgressHook(func(rp ResearchProgress) error {
		rail.Infof("Progress: %v - %v", rp.Name, rp.Arguments)
		return nil
	}))
	if err != nil {
		t.Fatal(err)
	}
	t.Log(reportContent)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL