| Age | Commit message (Collapse) | Author | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* chore: add issue tempalte model_request.md
* update label
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* fix: wrap and tokenize algorithm
* update tests
* remove unnecessary tokenize from tiktoken
|
|
|
|
- update field name of ModelInfo
- rename ModelInfo to Model
|
|
|
|
|
|
|
|
|
|
|
|
- move model_info.rs/message.rs to clients/
- rename SharedConfig to GlobalConfig
|
|
- rewrite Repl, remove ReplHandler
- move ReplyStreamHandler to repl/ and rename it to ReplyHandler
- deprecate utils::print_now
- refactor session info
|
|
|
|
|
|
- extends ModelInfo for tokens calculating
- refactor config/session.rs, improve export, render, getter/setter
- modify main.rs, allow --model override session.model
|
|
|
|
|
|
- add register_clients macro to make it easier to add a new client
- no create_client_config, just add const PROMPTS
- move ModelInfo from clients/ to config/
- model's max_tokens are optional
- improve code quanity on config/mod.rs
- add/use macro config_get_fn
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|