Revert "add delay to avoid rate limits" & Fix curricular import#179
Revert "add delay to avoid rate limits" & Fix curricular import#179galshubeli merged 3 commits intomainfrom
Conversation
📝 WalkthroughWalkthroughRemoved unused imports and simplified source processing: moved a CreateOntologyStep import into a local scope, dropped an unused Changes
Sequence Diagram(s)(omitted) Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🤖 Augment PR SummarySummary: Cleans up imports to prevent unused/circular import issues. 🤖 Was this summary useful? React with 👍 or 👎 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@graphrag_sdk/kg.py`:
- Around line 204-214: The public method process_sources currently removed the
delay parameter which can break callers; restore backwards compatibility by
reintroducing a delay parameter (e.g., delay: Optional[float] = None) to the
process_sources signature in class/def process_sources and, inside the method,
accept and ignore it while issuing a DeprecationWarning (or logging a warning)
when delay is not None; ensure the warning text references process_sources and
suggests the new behavior so callers have a migration path.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.