Skip to content

Conversation

@phamhung075
Copy link

@phamhung075 phamhung075 commented Dec 27, 2024

fix problem:
Error: 'charmap' codec can't encode characters in position 22-24: character maps to <undefined> Aborted!

result

PS D:\DaiHung\__temp\gitingest> gitingest "./../AIanalist/src/"
Analysis complete! Output written to: D:\DaiHung\__temp\gitingest\digest.txt

Summary:
Repository: AIanalist/src
Files analyzed: 97

Estimated tokens: 68.2k

Copy link
Member

@cyclotruc cyclotruc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the correction, I just want to clarify a few details (and remove the digest.txt) before merging

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm confused why this function is defined here and in ingest.py as well

setup_encoding()

# Define constants
MAX_FILE_SIZE = 51200 # 50KB by default
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the way Constants are handled right now is messy, not your fault but I'll try to figure out a cleaner way than having constants defined at the top of various files

@phamhung075
Copy link
Author

phamhung075 commented Dec 29, 2024

i have this code change to #72

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants