I hereby claim:
- I am nagyv on github.
- I am nagyv (https://keybase.io/nagyv) on keybase.
- I have a public key ASBS9dc3poTC2gmEbZN-_wX0M-SmIGwWJ5huIaxZPQwljQo
To claim this, I am signing this object:
``` | |
06:58:54 - LiteLLM Proxy:ERROR: endpoints.py:191 - litellm.proxy.proxy_server.anthropic_response(): Exception occured - Error calling litellm.acompletion for non-Anthropic model: litellm.APIConnectionError: 'str' object has no attribute 'get' | |
Traceback (most recent call last): | |
File "/Users/nagyv/Projects/local-llm/.venv/lib/python3.12/site-packages/litellm/main.py", line 3084, in completion | |
response = base_llm_http_handler.completion( | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/Users/nagyv/Projects/local-llm/.venv/lib/python3.12/site-packages/litellm/llms/custom_httpx/llm_http_handler.py", line 329, in completion | |
data = provider_config.transform_request( | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/Users/nagyv/Projects/local-llm/.venv/lib/python3.12/site-packages/litellm/llms/ollama/completion/transformation.py", line 342, in transform_request |
classDiagram | |
IPAQ_Category <|-- TMP_Cat_2a | |
IPAQ_Category <|-- TMP_Cat_2b | |
IPAQ_Category <|-- TMP_Cat_2c | |
IPAQ_Category <|-- TMP_Cat_3a | |
IPAQ_Category <|-- TMP_Cat_3b | |
TMP_Cat_2a <|-- 29_magas_perc_7 nap | |
TMP_Cat_2a <|-- 27_magas fiz akt_7 nap |
[preset.0] | |
name="Android" | |
platform="Android" | |
runnable=true | |
dedicated_server=false | |
custom_features="" | |
export_filter="all_resources" | |
include_filter="" | |
exclude_filter="" |
provider "postgresql" { | |
host = var.server_host | |
port = var.server_port | |
database = "postgres" | |
username = var.username | |
password = var.password | |
sslmode = var.sslmode | |
connect_timeout = 15 | |
superuser = false | |
} |
# Usage | |
# in .gitlab-ci.yml | |
# commit packages: | |
# extends: .git:push | |
# stage: deploy | |
# variables: | |
# COMMIT_MESSAGE: "Hydrated packages" | |
# script: | |
# cp -r file-to-commit/* "${CI_COMMIT_SHA}/file-to-commit/" | |
# dependencies: |
I hereby claim:
To claim this, I am signing this object:
const axios = require('axios') | |
require('dotenv').config() | |
const username = process.env.LOGIN | |
const password = process.env.PASSWORD | |
const game = process.env.GAME | |
async function jwtAuth(username, password, game, filter) { | |
const response = await axios({ | |
url: `https://auth.gamesparks.net/restv2/auth/game/${game}/jwt`, |
This is a simple example to use Nes with Schmervice in hapipal-like project.
As there might be several susbcription channels, I prefer to separate them by domain, and have a single service that handles all the even passing between different parts of the code.
Example usage:
// somewhere in a router's handler
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<script> | |
// from: https://github.com/facebook/react-native/issues/11594#issuecomment-274689549 | |
function awaitPostMessage() { | |
let isReactNativePostMessageReady = !!window.originalPostMessage; | |
const queue = []; | |
let currentPostMessageFn = function store(message) { | |
if (queue.length > 100) queue.shift(); |
import React, { Component } from 'react' | |
// import PropTypes from 'prop-types'; | |
import { View } from 'react-native' | |
import { | |
H1, | |
Icon, | |
Button, | |
Text | |
} from 'native-base' | |
import Modal from 'react-native-modal' |