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

disagreement in the sequence of answers #1061

Closed
felipe-assad opened this issue Mar 20, 2024 · 1 comment
Closed

disagreement in the sequence of answers #1061

felipe-assad opened this issue Mar 20, 2024 · 1 comment
Assignees
Labels
*out-of-scope Posted issue is not in scope of VS Code

Comments

@felipe-assad
Copy link

Plataform

  • OS Version: Mac OS 10.15.7

  • VS Code Version:

Versão: 1.87.2 (Universal)
Confirmar: 863d2581ecda6849923a2118d93a088b0745d9d6
Data: 2024-03-08T15:21:31.043Z (1 semana atrás)
Electron: 27.3.2
ElectronBuildId: 26836302
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
SO: Darwin x64 19.6.0
  • Logs:
2024-03-20 13:10:13.239 [info] [chat fetch] url https://api.githubcopilot.com/chat/completions
2024-03-20 13:10:13.242 [info] [chat fetch] modelMaxPromptTokens 3072
2024-03-20 13:10:13.242 [info] [chat fetch] modelMaxResponseTokens 1108
2024-03-20 13:10:13.242 [info] [chat fetch] chat model gpt-4
2024-03-20 13:10:18.600 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 5356 ms
2024-03-20 13:10:29.837 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-03-20 13:10:29.843 [info] [streamChoices] request done: requestId: [7a054ab0-1290-4eee-9c79-aa58fa5f8186] responseId: [7a054ab0-1290-4eee-9c79-aa58fa5f8186] model deployment ID: [xdabd4c7cedc5]
2024-03-20 13:10:35.867 [info] [chat fetch] url https://api.githubcopilot.com/chat/completions
2024-03-20 13:10:35.867 [info] [chat fetch] modelMaxPromptTokens 7168
2024-03-20 13:10:35.867 [info] [chat fetch] modelMaxResponseTokens 1348
2024-03-20 13:10:35.867 [info] [chat fetch] chat model gpt-3.5-turbo
2024-03-20 13:10:37.208 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 1340 ms
2024-03-20 13:10:37.239 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-03-20 13:10:37.239 [info] [streamChoices] request done: requestId: [902d417a-2ad5-4279-afab-ed72bb8290d1] responseId: [902d417a-2ad5-4279-afab-ed72bb8290d1] model deployment ID: [x4dff5e5d11fc]

Steps to Reproduce

  1. Send text chat in copilot chat:
<input type="tel" class="waiting-blocked form-control" id="contact-template-phone-idwa" name="phone[idwa]" data-inputmask="'mask': '999999999999999'" inputmode="number" placeholder=" ">

não preciso limitar o quantidade de números desta entrada mas apenas permitir que sejam números é possível alterar essa mascara para fazer isto ?
  1. Get response:
Sim, é possível alterar a máscara para permitir apenas números sem limitar a quantidade. Você pode usar a máscara "9{}" para isso. O "9" representa um dígito numérico e o "" representa um número ilimitado de dígitos. Aqui está como você pode fazer isso:

<script>
    $(document).ready(function(){
        $("#contact-template-phone-idwa").inputmask({
            "mask": "9{*}",
            "greedy": false
        });
    });
</script>

Neste código, a opção mask é definida como "9{*}", o que significa que qualquer número de dígitos numéricos é permitido. A opção greedy é definida como false, o que significa que a máscara será repetida o menor número possível de vezes. Isso deve permitir que você insira apenas números sem limitar a quantidade.
  1. Review:
  • first comment with "9{}" and ""
  • code with "9{*}"
  • second comment with "9{*}"
  • correctly is "9{*}"
@github-actions github-actions bot added the triage-needed Issues needing to be assigned to the prospective feature owner label Mar 20, 2024
@mjbvz mjbvz removed the triage-needed Issues needing to be assigned to the prospective feature owner label Mar 27, 2024
@mjbvz mjbvz added the *out-of-scope Posted issue is not in scope of VS Code label Dec 11, 2024
Copy link

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.

If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

Thanks for your understanding, and happy coding!

@vs-code-engineering vs-code-engineering bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
*out-of-scope Posted issue is not in scope of VS Code
Projects
None yet
Development

No branches or pull requests

2 participants