We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e112537 commit 93877ecCopy full SHA for 93877ec
src/backend/src/modules/airouter/AIChatService.js
@@ -481,9 +481,6 @@ class AIChatService extends BaseService {
481
intended_service
482
});
483
484
- if (!delegate) {
485
- // TODO (xiaochen): delegate all ai services in the future, this branch will be removed.
486
-
487
// Updated: Check usage and get a boolean result instead of throwing error
488
const svc_cost = this.services.get('cost');
489
const available = await svc_cost.get_available_amount();
@@ -546,7 +543,6 @@ class AIChatService extends BaseService {
546
543
}
547
544
548
545
this.log.noticeme('AI PARAMETERS', parameters);
549
- }
550
551
try {
552
ret = await svc_driver.call_new_({
0 commit comments