Commit 0ff85fb
committed
fix: resolve CodeRabbit import style issues in main.py
- Add FallbackHashEmbeddings to existing relative import on line 46
- Remove redundant absolute imports in _get_fallback_embeddings function
- Use consistent relative import style throughout the file
- Simplify function by removing unnecessary import statements
This addresses CodeRabbit's feedback about:
- Redundant import of contextforge_memory.embeddings.base
- Inconsistent import style (absolute vs relative)
- Unnecessary complexity in _get_fallback_embeddings function1 parent e644bd1 commit 0ff85fb
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
917 | 917 | | |
918 | 918 | | |
919 | 919 | | |
920 | | - | |
| 920 | + | |
921 | 921 | | |
922 | 922 | | |
923 | 923 | | |
924 | 924 | | |
925 | 925 | | |
926 | 926 | | |
927 | 927 | | |
928 | | - | |
929 | | - | |
930 | | - | |
931 | | - | |
932 | 928 | | |
933 | 929 | | |
934 | 930 | | |
| |||
0 commit comments