Skip to content

Commit 12226a2

Browse files
committed
Bump version to 0.2.1 in pyproject.toml and update rate limits for providers
1 parent a3760c8 commit 12226a2

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "veritascribe"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
license = "MIT"
55
description = "AI-powered bachelor thesis review tool for automated quality analysis"
66
readme = "README.md"

src/veritascribe/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ def analyze(
136136
timestamp = report.analysis_timestamp.strftime("%Y%m%d_%H%M%S")
137137
report_name = f"{pdf_file.stem}_{timestamp}"
138138

139-
text_report_path = output_path / f"{report_name}_report.md"
140-
report_generator.generate_text_report(report, str(text_report_path))
139+
#text_report_path = output_path / f"{report_name}_report.md"
140+
#report_generator.generate_text_report(report, str(text_report_path))
141141

142142
# Generate JSON export
143143
json_report_path = output_path / f"{report_name}_data.json"
@@ -171,7 +171,7 @@ def analyze(
171171
# Display output summary
172172
console.print("\n[green]✓ Analysis completed successfully![/green]")
173173
console.print(f"\n[bold]Generated files:[/bold]")
174-
console.print(f" 📄 Text report: {text_report_path}")
174+
#console.print(f" 📄 Text report: {text_report_path}")
175175
console.print(f" 📊 JSON data: {json_report_path}")
176176

177177
if not no_visualizations and report.total_errors > 0:

src/veritascribe/pdf_processor.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,26 +158,26 @@ def _fix_german_umlauts(self, text: str) -> str:
158158

159159

160160
# Replace '"a' with 'ä' and '"A' with 'Ä'
161-
text = re.sub(r'"a', 'ä', text)
161+
#text = re.sub(r'"a', 'ä', text)
162162
text = re.sub(r'¨a', 'ä', text)
163163
text = re.sub(r'“a', 'ä', text)
164-
text = re.sub(r'"A', 'Ä', text)
164+
#text = re.sub(r'"A', 'Ä', text)
165165
text = re.sub(r'¨A', 'Ä', text)
166166
text = re.sub(r'“A', 'Ä', text)
167167

168168
# Replace '"o' with 'ö' and '"O' with 'Ö'
169169
text = re.sub(r'"o', 'ö', text)
170170
text = re.sub(r'¨o', 'ö', text)
171171
text = re.sub(r'“o', 'ö', text)
172-
text = re.sub(r'"O', 'Ö', text)
172+
#text = re.sub(r'"O', 'Ö', text)
173173
text = re.sub(r'¨O', 'Ö', text)
174174
text = re.sub(r'“O', 'Ö', text)
175175

176176
# Replace '"u' with 'ü' and '"U' with 'Ü'
177177
text = re.sub(r'"u', 'ü', text)
178178
text = re.sub(r'¨u', 'ü', text)
179179
text = re.sub(r'“u', 'ü', text)
180-
text = re.sub(r'"U', 'Ü', text)
180+
#text = re.sub(r'"U', 'Ü', text)
181181
text = re.sub(r'¨U', 'Ü', text)
182182
text = re.sub(r'“U', 'Ü', text)
183183

src/veritascribe/rate_limiter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,8 @@ class ProviderRateLimiter:
252252

253253
# Default rate limits for different providers (requests per minute)
254254
DEFAULT_LIMITS = {
255-
"openai": 3500, # OpenAI Tier 1 default
256-
"openrouter": 60, # Conservative default for mixed models
255+
"openai": 500, # OpenAI Tier 1 default
256+
"openrouter": 100, # Conservative default for mixed models
257257
"anthropic": 1000, # Claude API default
258258
"custom": 100 # Conservative default for custom endpoints
259259
}

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)