Skip to content

Instantly share code, notes, and snippets.

View hongbo-miao's full-sized avatar
❣️

Hongbo Miao hongbo-miao

❣️
View GitHub Profile
@hongbo-miao
hongbo-miao / uv.lock
Created January 31, 2025 09:48
mineru uv.lock
version = 1
requires-python = ">=3.12.0, <3.13"
resolution-markers = [
"platform_system == 'Windows' and sys_platform == 'win32'",
"platform_system == 'Windows' and sys_platform != 'win32'",
"platform_machine == 'aarch64' and platform_system == 'Linux'",
"platform_machine != 'aarch64' and platform_system == 'Linux'",
"platform_machine == 'arm64' and platform_system == 'Darwin'",
"platform_machine != 'arm64' and platform_system == 'Darwin'",
"platform_system != 'Darwin' and platform_system != 'Linux' and platform_system != 'Windows' and sys_platform == 'win32'",
ts=2025-01-30T08:59:35.298859187Z level=info "boringcrypto enabled"=false
ts=2025-01-30T08:59:35.29786316Z level=info source=/go/pkg/mod/github.com/!kim!machine!gun/[email protected]/memlimit/memlimit.go:170 msg="memory is not limited, skipping" package=github.com/KimMachineGun/automemlimit/memlimit
ts=2025-01-30T08:59:35.298890774Z level=info msg="no peer discovery configured: both join and discover peers are empty" service=cluster
ts=2025-01-30T08:59:35.298894656Z level=info msg="running usage stats reporter"
ts=2025-01-30T08:59:35.298896901Z level=warn msg="this stdlib function is deprecated; please refer to the documentation for updated usage and alternatives" controller_path=/ controller_id="" function=env
ts=2025-01-30T08:59:35.2989009Z level=warn msg="this stdlib function is deprecated; please refer to the documentation for updated usage and alternatives" controller_path=/ controller_id="" function=env
ts=2025-01-30T08:59:35.298903588Z level=info msg="starting complete graph evaluation" controller_pa
This file has been truncated, but you can view the full file.
DEBUG: Using RE2 regex engine
DEBUG: Parsing configs
DEBUG: Checking for config file in /runner/renovate/job_config.json
DEBUG: Detected config in env RENOVATE_CONFIG
{
"config": {
"extends": [
"mergeConfidence:all-badges"
],
@hongbo-miao
hongbo-miao / gist:b10b9785997e6078b9290cb30af5ccf2
Last active October 15, 2024 21:39
LiteLLM log for Continue
21:18:26 - LiteLLM Proxy:DEBUG: litellm_pre_call_utils.py:195 - Request Headers: Headers({'host': 'litellm.example.com', 'user-agent': 'node-fetch', 'content-length': '3883', 'accept': '*/*', 'accept-encoding': 'gzip, deflate, br', 'api-key': 'anything', 'authorization': 'Bearer anything', 'content-type': 'application/json', 'x-forwarded-for': '172.31.191.224', 'x-forwarded-host': 'litellm.example.com', 'x-forwarded-port': '443', 'x-forwarded-proto': 'https', 'x-forwarded-server': 'horizon-traefik-7765cbd49c-cm5n6', 'x-real-ip': '172.31.191.224'})
21:18:26 - LiteLLM Proxy:DEBUG: litellm_pre_call_utils.py:201 - receiving data: {'model': 'claude-3-5-sonnet', 'max_tokens': 2048, 'temperature': 0.01, 'stream': True, 'stop': ['</COMPLETION>', '\n\n', '\r\n\r\n', '/src/', '#- coding: utf-8', '```', '\ndef', '\nclass', '\n"""#'], 'prompt': 'You are a HOLE FILLER. You are provided with a file containing holes, formatted as \'{{HOLE_NAME}}\'. Your TASK is to complete with a string to replace this hol
@hongbo-miao
hongbo-miao / gist:03b3bb1dd9585d185611e4b848123df6
Created October 7, 2024 23:32
LiteLLM bug: Conversation blocks and tool result blocks cannot be provided in the same turn.
This file has been truncated, but you can view the full file.
22:34:16 - LiteLLM Proxy:DEBUG: proxy_server.py:3113 - Request received by LiteLLM:
{
"model": "claude-3-opus",
"messages": [
{
"role": "system",
@hongbo-miao
hongbo-miao / gist:8577107aba2db2cff0b577cede63e12b
Created October 4, 2024 04:23
LiteLLM error log: Conversation blocks and tool result blocks cannot be provided in the same turn.
This file has been truncated, but you can view the full file.
04:20:27 - LiteLLM Proxy:DEBUG: proxy_server.py:3122 - Request received by LiteLLM:
{
"model": "claude-3-opus",
"messages": [
{
"role": "system",
This file has been truncated, but you can view the full file.
22:12:36 - LiteLLM Proxy:DEBUG: proxy_server.py:3109 - Request received by LiteLLM:
{
"model": "claude-3-opus",
"messages": [
{
"role": "system",
@hongbo-miao
hongbo-miao / gist:feff6f441727b6db7c7104784eb7e3f4
Created July 16, 2024 17:23
Clang v18.1.8 default LLVM .clang-format
---
Language: Cpp
# BasedOnStyle: LLVM
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignArrayOfStructures: None
AlignConsecutiveAssignments:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
>> ATTEMPT 1/1
2024-07-14 08:08:51 platform > Cloud storage job log path: /workspace/924/0/logs.log
2024-07-14 08:09:04 INFO i.m.r.Micronaut(start):101 - Startup completed in 2249ms. Server Running: http://orchestrator-repl-job-924-attempt-0:9000
2024-07-14 08:09:05 replication-orchestrator > Writing async status INITIALIZING for KubePodInfo[namespace=production-hm-airbyte, name=orchestrator-repl-job-924-attempt-0, mainContainerInfo=KubeContainerInfo[image=airbyte/container-orchestrator:0.63.6, pullPolicy=IfNotPresent]]...
2024-07-14 08:08:51 platform > Executing worker wrapper. Airbyte version: 0.63.6
2024-07-14 08:08:51 platform > Creating orchestrator-repl-job-924-attempt-0 for attempt number: 0
2024-07-14 08:08:51 platform > Successfully deleted all running pods for the connection!
2024-07-14 08:08:56 platform > Waiting for pod to be running...
2024-07-14 08:08:58 platform > Pod production-hm-airbyte/orchestrator-repl-job-924-attempt-
@hongbo-miao
hongbo-miao / gist:c65bb869eb9c52bd275bcb9607251d66
Last active July 15, 2024 01:06
Airbyte sync succeed log
>> ATTEMPT 1/1
2024-07-14 07:46:41 platform > Cloud storage job log path: /workspace/923/0/logs.log
2024-07-14 07:47:20 INFO i.m.r.Micronaut(start):101 - Startup completed in 2263ms. Server Running: http://orchestrator-repl-job-923-attempt-0:9000
2024-07-14 07:47:22 replication-orchestrator > Writing async status INITIALIZING for KubePodInfo[namespace=production-hm-airbyte, name=orchestrator-repl-job-923-attempt-0, mainContainerInfo=KubeContainerInfo[image=airbyte/container-orchestrator:0.63.6, pullPolicy=IfNotPresent]]...
2024-07-14 07:46:41 platform > Executing worker wrapper. Airbyte version: 0.63.6
2024-07-14 07:46:41 platform >
2024-07-14 07:46:41 platform > Using default value for environment variable SIDECAR_KUBE_CPU_LIMIT: '2.0'
2024-07-14 07:46:41 platform > ----- START CHECK -----
2024-07-14 07:46:41 platform > Using default value for environment variable SOCAT_KUBE_CPU_LIMIT: '2.0'