Moin
1월 19, 2026, 9:32오전
1
"이 커뮤니티는 오늘 AI 크레딧 한도에 도달했습니다. %{reset_time} 이후에 다시 시도하시거나, 자세한 정보는 사이트 관리자에게 문의하십시오."라는 문장의 "reset_time"이 상대 시간인지 고정 시간인지 확인해 보려고 했습니다. 독일어에서는 해당 값이 상대 시간인지 고정 시간인지에 따라 사용할 전치사가 달라진다고 생각했거든요. 그래서 ChatGPT에게 도움을 요청하다가 다음 링크를 발견했습니다:
llm_model.llm_credit_allocation.deduct_credits!(credit_cost)
end
def formatted_reset_time
return "" if next_reset_at.nil?
next_reset_at.strftime("%l:%M%P on %b %d, %Y").strip
end
def relative_reset_time
return "" if next_reset_at.nil?
"in " + AgeWords.distance_of_time_in_words(Time.current, next_reset_at)
end
private
end
# == Schema Information
#
# Table name: llm_credit_allocations
#
# id :bigint not null, primary key
제게는 "in"이 하드코딩되어 있어 번역이 불가능해 보입니다.
2개의 좋아요
Moin
1월 21, 2026, 8:49오전
4
즉, 이 둘은 보통 절대 시간 지정으로 작동하나요?
discourse_ai.llm_credit_allocation.limit_exceeded_user
AI 크레딧 한도에 도달했습니다. %{reset_time} 이후에 다시 시도해 주세요.
discourse_ai.llm_credit_allocation.limit_exceeded_admin
이 커뮤니티가 오늘 AI 크레딧 한도에 도달했습니다. %{reset_time} 이후에 다시 시도하시거나, 자세한 내용은 사이트 관리자에게 문의해 주세요.