<commit_before>package blended.akka.http.proxy.internal

import com.typesafe.config.Config
import blended.util.config.Implicits._
import scala.util.Try

case class ProxyConfig(paths: Seq[ProxyTarget])

object ProxyConfig {
  def parse(cfg: Config): Try[ProxyConfig] = Try {
    ProxyConfig(
      cfg.getConfigMap("paths", Map()).toList.map {
        case (k, v) =>
          ProxyTarget(
            path = k,
            uri = cfg.getString("uri"),
            timeout = cfg.getInt("timeout", 10)
          )
      }
    )
  }

}<commit_msg>Fixed use of wrong config instance<commit_after>package blended.akka.http.proxy.internal

import com.typesafe.config.Config
import blended.util.config.Implicits._
import scala.util.Try

case class ProxyConfig(paths: Seq[ProxyTarget])

object ProxyConfig {
  def parse(cfg: Config): Try[ProxyConfig] = Try {
    ProxyConfig(
      cfg.getConfigMap("paths", Map()).toList.map {
        case (k, v) =>
          ProxyTarget(
            path = k,
            uri = v.getString("uri"),
            timeout = v.getInt("timeout", 10)
          )
      }
    )
  }

}
{'fraction_non_alphanumeric': 0.12511332728921123, 'fraction_numerical': 0.003626473254759746, 'mean_word_length': 2.4936708860759493, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1468671', 'n_tokens_mistral': 358, 'n_tokens_neox': 344, 'n_words': 71}