File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ how to get it:
94943 . click ` Account ` in the left sidebar
95954 . in ` Session Link ` , click ` Copy `
9696
97- ![ session-link tutorial] ( images/tutorials /session-link.gif )
97+ ![ session-link tutorial] ( images/demos /session-link.gif )
9898
9999``` bash
100100kagi auth set --session-token ' https://kagi.com/search?token=...'
@@ -112,7 +112,7 @@ how to get it:
1121124 . go into ` Open API Portal `
1131135 . under ` API Token ` , click ` Generate New Token `
114114
115- ![ api token tutorial] ( images/tutorials /api-token.gif )
115+ ![ api token tutorial] ( images/demos /api-token.gif )
116116
117117``` bash
118118export KAGI_API_TOKEN=' ...'
Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ For developers who want to modify the code or build for an unsupported platform.
263263
264264### Prerequisites
265265
266- - Rust toolchain 1.70 or later
266+ - Rust toolchain 1.85 or later
267267- Git
268268- Network connectivity for dependencies
269269
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ flowchart TD
116116
117117- ** Purpose:** Validate credentials work
118118- ** Network:** Yes (test search)
119- - ** Uses:** Primary credential (API if available, else session)
119+ - ** Uses:** Primary credential per ` [auth.preferred_auth] ` setting (defaults to session token )
120120- ** No fallback:** Tests primary credential only
121121
122122#### ` kagi auth set `
@@ -325,7 +325,7 @@ kagi auth set --session-token '...' --api-token '...'
325325- ✅ Everything listed above
326326
327327** Smart behavior:**
328- - ` search ` : Uses API (preferred ), falls back to session if needed
328+ - ` search ` : Uses session (default ), or API if ` [auth.preferred_auth = "api"] ` is set
329329- ` summarize ` without ` --subscriber ` : Uses API
330330- ` summarize --subscriber ` : Uses session
331331- ` quick ` : Uses session
You can’t perform that action at this time.
0 commit comments