You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(cli): implement CLI improvements from open PRs (#181)
This commit implements improvements from multiple CLI-related PRs:
1. PR #137: Use consistent provider name casing in models output
- Removed .to_uppercase() call to keep provider names in lowercase
2. PR #135: Add --log-level flag for granular log verbosity control
- Added LogLevel enum with error, warn, info, debug, trace levels
- Support for FABRIC_LOG_LEVEL environment variable
- Deprecated --debug flag (still works for backward compatibility)
3. PR #147: Display timestamps with timezone suffix
- Sessions list now shows timestamps in "YYYY-MM-DD HH:MM:SS UTC" format
- Makes timezone unambiguous for team collaboration
4. PR #153: Emit valid JSONL with full event data in streaming mode
- Serialize full event using serde with proper type tags
- Include complete event payload data (text deltas, tool call info)
5. PR #138: Add model alias shortcuts for common models
- Added ModelAlias struct and MODEL_ALIASES constant
- resolve_model_alias() function for short name resolution
- Supported aliases: sonnet, opus, haiku, gpt4, gpt, o1, o3, codex,
gemini, deepseek, r1, llama
- Case-insensitive matching
6. PR #139: Pass CLI temperature override to session
- Added temperature field to Config and ConfigOverrides
- Modified session.rs to use config.temperature instead of hardcoded 0.7
- Temperature can be set via cortex run --temperature flag
Also includes formatting improvements from cargo fmt.
Co-authored-by: Droid Agent <droid@factory.ai>
0 commit comments