<commit_before><?php

namespace Tokenly\CounterpartyAssetInfoCache;

use Illuminate\Contracts\Cache\Repository;
use Tokenly\CounterpartyClient\CounterpartyClient;
use \Exception;

/*
* AssetCache
*/
class AssetCache
{
    public function __construct(Repository $laravel_cache, CounterpartyClient $counterparty_client)
    {
        $this->laravel_cache = $laravel_cache;
        $this->counterparty_client = $counterparty_client;
    }
<commit_msg>allow generic counterparty client instance<commit_after><?php

namespace Tokenly\CounterpartyAssetInfoCache;

use Illuminate\Contracts\Cache\Repository;
use \Exception;

/*
* AssetCache
*/
class AssetCache
{
    public function __construct(Repository $laravel_cache, $counterparty_client)
    {
        $this->laravel_cache = $laravel_cache;
        $this->counterparty_client = $counterparty_client;
    }

{'fraction_non_alphanumeric': 0.09239766081871345, 'fraction_numerical': 0.0, 'mean_word_length': 4.944444444444445, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '2836847', 'n_tokens_mistral': 251, 'n_tokens_neox': 251, 'n_words': 45}