Skip to content

{"detail":{"error":"API Key is missing."}} | What kind of API key do I need to apply for? #4

@alabulei1

Description

@alabulei1

The command to run the serach-api-server.wasm .

wasmedge --dir .:.  --env LLAMA_LOG="info" \
  --nn-preload default:GGML:AUTO:Meta-Llama-3.1-8B-Instruct-Q5_K_M.gguf  \
  search-api-server.wasm \
  --ctx-size 4096,384 \
  --prompt-template llama-3-chat \
  --model-name Llama-3-8b

Error message:

[2024-09-06 23:30:19.143] [wasi_logging_stdout] [info] insert_search_results: search_api_server::search in src/search/mod.rs:32: performing search
{"detail":{"error":"API Key is missing."}}
[2024-09-06 23:30:21.971] [wasi_logging_stdout] [error] search_server: search_api_server::search::tavily_search in src/search/tavily_search.rs:25: google_parser: No results returned from server
[2024-09-06 23:30:21.972] [wasi_logging_stdout] [error] stdout: llama_core::search in /Users/sam/.cargo/registry/src/index.crates.io-6f17d22bba15001f/llama-core-0.16.1/src/search.rs:253: perform_search: No results returned from server
[2024-09-06 23:30:21.972] [wasi_logging_stdout] [error] insert_search_results: search_api_server::search in src/search/mod.rs:96: Failed to perform search on SEACH_CONFIG: When calling parse_into_results: No results returned from server
[2024-09-06 23:30:21.972] [wasi_logging_stdout] [error] response: search_api_server::error in src/error.rs:25: 500 Internal Server Error: Failed to perform search on SEACH_CONFIG: When calling parse_into_results: No results returned from server
[2024-09-06 23:30:21.972] [wasi_logging_stdout] [error] stdout: search_api_server in src/main.rs:557: version: HTTP/1.1, body_size: 133, status: 500, is_informational: false, is_success: false, is_redirection: false, is_client_error: false, is_server_error: true
``

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions