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

Inconsistent Schema between vapi webapp UI vs what the server messages actually look like (snake_case vs camelCase) #86

Open
CorneliusSchramm opened this issue Dec 30, 2024 · 0 comments

Comments

@CorneliusSchramm
Copy link

Hey - just wanted to flag this discrepancy between what the vapi dashboard shows as the schema that was sent and what actually is sent to the server.
The webapp logs page, shows the body as snake_case:

"assistant": {
          "id": "some-id-h1234-4761-abe8-000000000",
          "org_id": "some-id-h1234-4761-abe8-000000000",
          "name": "David",
          "voice": {
              "model": "eleven_flash_v2",
              "voice_id": "cjVigY5qzO86Huf0OWal",
              "provider": "11labs",
              "stability": 0.5,
              "similarity_boost": 0.75,
              "filler_injection_enabled": false
          },
          "created_at": "2024-12-28T21:20:49.135Z",
          "updated_at": "2024-12-30T16:05:43.008Z",
          "model": {
              "model": "gpt-4o-mini",
          // ....

whereas in reality my server received camelCase

        "assistant": {
            "id": "some-id-h1234-4761-abe8-000000000",
            "orgId": "some-id-h1234-4761-abe8-000000000",
            "name": "David",
            "voice": {
                "model": "eleven_flash_v2",
                "voiceId": "cjVigY5qzO86Huf0OWal",
                "provider": "11labs",
                "stability": 0.5,
                "similarityBoost": 0.75,
                "fillerInjectionEnabled": false
            },
            "createdAt": "2024-12-28T21:20:49.135Z",
            "updatedAt": "2024-12-30T16:05:43.008Z",
            "model": {
                "model": "gpt-4o-mini",
                "toolIds": [
          // ....
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