Commit Graph

13 Commits

Author SHA1 Message Date
David Dworken
21b401bc14
Add ability to configure custom OpenAI API endpoint for #186 (#194)
* Add ability to configure custom OpenAI API endpoint for #186

* Ensure the AiCompletionEndpoint field is always initialized
2024-03-26 22:13:57 -07:00
David Dworken
ae14d5dd7a
Add explicit handling for 429 error code from OpenAI 2024-02-06 20:02:09 -08:00
David Dworken
4b93240948
Log OpenAI error to debug log for #167 2024-02-05 21:34:03 -08:00
David Dworken
80454d3859
Add more debugging info when OpenAI API returns zero responses for #167 2024-02-04 17:32:20 -08:00
David Dworken
9b5a09f85e
Fix incorrect argument order 2023-12-19 20:51:02 -08:00
David Dworken
8fd809fdc8 Improve AI suggestions by specifying shell name and OS in OpenAI query 2023-12-19 20:50:29 -08:00
David Dworken
034c317d74
Update prompt to discourage adding formatting 2023-11-12 04:54:37 -08:00
David Dworken
1a450c0817 Add basic sanity test to confirm that our interactions with the OpenAI API are correct 2023-11-12 02:57:23 -08:00
David Dworken
6962233e1e Better log messages and error messages 2023-11-12 02:57:23 -08:00
David Dworken
afe1a38a0e Fix 2d63263b79 by applying the override on the backend rather than in the client-side variable that isn't actually being referenced 2023-11-12 02:57:23 -08:00
David Dworken
b0f3107da2 Add basic test for AI queries 2023-11-12 02:57:23 -08:00
David Dworken
0ea3ce2399 Add basic debouncing for AI integration + implement AI suggestions via hishtory API endpoint 2023-11-12 02:57:23 -08:00
David Dworken
eb835fe52c Add initial version of AI searching, but with a broken implementation of debouncing 2023-11-12 02:57:23 -08:00