Commit Graph

9 Commits

Author SHA1 Message Date
0a27b9a8d3 Project refactor, add anthropic API support
- Split pkg/cli/cmd.go into new pkg/cmd package
- Split pkg/cli/functions.go into pkg/lmcli/tools package
- Refactor pkg/cli/openai.go to pkg/lmcli/provider/openai

Other changes:

- Made models configurable
- Slight config reorganization
2024-03-12 01:01:19 -06:00
239ded18f3 Add edit command
Various refactoring:
- reduced repetition with conversation message handling
- made some functions internal
2024-01-02 04:31:21 +00:00
6599af042b Minor refactor
- Use init() function to set up commands
- Expose an Execute() function instead of the root command
2023-11-14 17:04:12 +00:00
16454a0bbd Project restructure
Moved source files into cmd/ and pkg/ directories
2023-11-04 13:35:23 -06:00
f91ae88fcd Add config file handling, get OpenAPI API key using it 2023-11-04 18:49:01 +00:00
8fe2a2cf53 Add initial store.go for conversation/message persistence 2023-11-04 18:47:33 +00:00
fd667a1f47 Add 'prompt' command 2023-11-03 02:44:16 +00:00
68f986dc06 Use the streamed response API 2023-10-30 21:46:43 +00:00
c35967f797 Initial prototype 2023-10-30 21:23:07 +00:00