<commit_before>import {Fragment, createContext, useContext, useCallback, useState} from 'react'
import Link from 'next/link'
import {useRouter} from 'next/router'
import cn from 'classnames'
import {Dialog, Transition} from '@headlessui/react'
import {MenuIcon, XIcon} from '@heroicons/react/solid'
import {DomainConnectionStatus} from '@/components'
import {useMe, useRequests, useDomainStatus} from '@/lib/data'
import {useAuth} from '@/context/auth-context'

const navigation = [
  {name: 'Datasets', href: '/datasets', disabled: true},
  {name: 'Models', href: '/models', disabled: true},
  {name: 'Requests', href: '/requests', disabled: true},
  {name: 'Tensors', href: '/tensors', disabled: true},
  {name: 'Users', href: '/users'},
  {name: 'Roles & Permissions', href: '/permissions'},
  {name: 'Dashboard', href: '/dashboard', disabled: true},
  {name: 'Networks', href: '#', disabled: true}, //networks'},
  {name: 'Settings', href: '/settings', disabled: true}
]

const SidebarContext = createContext(null)

function MobileSidebarMenuContent() {
  return (
    <div className="relative flex flex-col flex-1 w-full text-gray-800 bg-gray-100">
      <div className="flex-1 h-0 pt-5 pb-4 overflow-y-auto">
        <Link href="/">
          <a>
            <NodeInfo />
          </a>
        </Link>
        <DomainConnectionStatus />
        <Navigation />
      </div>
      <LogoutBox />
    </div>
  )<commit_msg>feat: show requests in the desktop navbar<commit_after>import {Fragment, createContext, useContext, useCallback, useState} from 'react'
import Link from 'next/link'
import {useRouter} from 'next/router'
import cn from 'classnames'
import {Dialog, Transition} from '@headlessui/react'
import {MenuIcon, XIcon} from '@heroicons/react/solid'
import {DomainConnectionStatus} from '@/components'
import {useMe, useRequests, useDomainStatus} from '@/lib/data'
import {useAuth} from '@/context/auth-context'

const navigation = [
  {name: 'Datasets', href: '/datasets', disabled: true},
  {name: 'Models', href: '/models', disabled: true},
  {name: 'Requests', href: '/requests'},
  {name: 'Tensors', href: '/tensors', disabled: true},
  {name: 'Users', href: '/users'},
  {name: 'Roles & Permissions', href: '/permissions'},
  {name: 'Dashboard', href: '/dashboard', disabled: true},
  {name: 'Networks', href: '#', disabled: true}, //networks'},
  {name: 'Settings', href: '/settings', disabled: true}
]

const SidebarContext = createContext(null)

function MobileSidebarMenuContent() {
  return (
    <div className="relative flex flex-col flex-1 w-full text-gray-800 bg-gray-100">
      <div className="flex-1 h-0 pt-5 pb-4 overflow-y-auto">
        <Link href="/">
          <a>
            <NodeInfo />
          </a>
        </Link>
        <DomainConnectionStatus />
        <Navigation />
      </div>
      <LogoutBox />
    </div>
  )
{'fraction_non_alphanumeric': 0.16934357541899442, 'fraction_numerical': 0.007681564245810056, 'mean_word_length': 3.767054908485857, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, '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': '4661801', 'n_tokens_mistral': 899, 'n_tokens_neox': 901, 'n_words': 260}