Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[curator-viewer] better handle all error scenarios' view #169

Open
CharlieJCJ opened this issue Nov 22, 2024 · 0 comments
Open

[curator-viewer] better handle all error scenarios' view #169

CharlieJCJ opened this issue Nov 22, 2024 · 0 comments

Comments

@CharlieJCJ
Copy link
Contributor

CharlieJCJ commented Nov 22, 2024

For those responses, need better handling
image

{
   "response_message":null,
   "response_errors":[
      "litellm.BadRequestError: LLM Provider NOT provided. Pass in the LLM provider you are trying to call. You passed model=together/meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo\n Pass model as E.g. For 'Huggingface' inference endpoints pass in `completion(model='huggingface/starcoder',..)` Learn more: https://docs.litellm.ai/docs/providers",
      "litellm.BadRequestError: LLM Provider NOT provided. Pass in the LLM provider you are trying to call. You passed model=together/meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo\n Pass model as E.g. For 'Huggingface' inference endpoints pass in `completion(model='huggingface/starcoder',..)` Learn more: https://docs.litellm.ai/docs/providers",
      "litellm.BadRequestError: LLM Provider NOT provided. Pass in the LLM provider you are trying to call. You passed model=together/meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo\n Pass model as E.g. For 'Huggingface' inference endpoints pass in `completion(model='huggingface/starcoder',..)` Learn more: https://docs.litellm.ai/docs/providers",
      "litellm.BadRequestError: LLM Provider NOT provided. Pass in the LLM provider you are trying to call. You passed model=together/meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo\n Pass model as E.g. For 'Huggingface' inference endpoints pass in `completion(model='huggingface/starcoder',..)` Learn more: https://docs.litellm.ai/docs/providers",
      "litellm.BadRequestError: LLM Provider NOT provided. Pass in the LLM provider you are trying to call. You passed model=together/meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo\n Pass model as E.g. For 'Huggingface' inference endpoints pass in `completion(model='huggingface/starcoder',..)` Learn more: https://docs.litellm.ai/docs/providers",
      "litellm.BadRequestError: LLM Provider NOT provided. Pass in the LLM provider you are trying to call. You passed model=together/meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo\n Pass model as E.g. For 'Huggingface' inference endpoints pass in `completion(model='huggingface/starcoder',..)` Learn more: https://docs.litellm.ai/docs/providers"
   ],
   "raw_response":null,
   "raw_request":{
      "model":"together/meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo",
      "messages":[
         {
            "role":"user",
            "content":"Generate a random Chinese recipe. Be creative but keep it realistic."
         }
      ]
   },
   "generic_request":{
      "model":"together/meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo",
      "messages":[
         {
            "role":"user",
            "content":"Generate a random Chinese recipe. Be creative but keep it realistic."
         }
      ],
      "response_format":{
         "properties":{
            "title":{
               "description":"Title of the recipe",
               "title":"Title",
               "type":"string"
            },
            "ingredients":{
               "description":"List of ingredients needed",
               "items":{
                  "type":"string"
               },
               "title":"Ingredients",
               "type":"array"
            },
            "instructions":{
               "description":"Step by step cooking instructions",
               "items":{
                  "type":"string"
               },
               "title":"Instructions",
               "type":"array"
            }
         },
         "required":[
            "title",
            "ingredients",
            "instructions"
         ],
         "title":"Recipe",
         "type":"object"
      },
      "original_row":{
         "cuisine_type":"Chinese"
      },
      "original_row_idx":24
   },
   "created_at":"2024-11-22 01:50:05.430939",
   "finished_at":"2024-11-22 01:50:05.959363",
   "token_usage":null,
   "response_cost":null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant